Crashes on startup

Bug #513930 reported by Abderrahim Kitouni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Activity Journal
Fix Released
Medium
Abderrahim Kitouni

Bug Description

On startup, g-a-j crashes with an assertion error in gdk. The problem is that GdkScreen is being instantiated and used (which seems crazy to me, I wonder why it isn't crashing for everybody). The following snippet crashes almost every time I run it.

import gtk
screen = gtk.gdk.Screen()
screen.get_monitor_geometry(0)

Attached is a patch to fix this (using bzr bundle, it's the closest thing I found to hg export, should I use something else?)

Related branches

Revision history for this message
Abderrahim Kitouni (akitouni) wrote :
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Committed, thanks!

------------------------------------------------------------
revno: 534 [merge]
author: Abderrahim Kitouni <email address hidden>
committer: Siegfried-Angel Gevatter Pujals <email address hidden>
branch nick: gnome-activity-journal
timestamp: Thu 2010-01-28 20:24:36 +0100
message:
  Use get_screen() instead of instantiating gtk.gdk.Screen.
------------------------------------------------------------

Changed in gnome-activity-journal:
assignee: nobody → Abderrahim Kitouni (a-kitouni)
importance: Undecided → Medium
milestone: none → 0.3.3
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.