Author: vuntz
Date: 2007-06-18 18:06:46 +0100 (Mon, 18 Jun 2007)
New Revision: 1325
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1325&view=rev
Modified:
trunk/ChangeLog
trunk/libwnck/pager.c
trunk/libwnck/selector.c
trunk/libwnck/tasklist.c
Log:
2007-06-18 Vincent Untz <[EMAIL PROTECTED]>
Fix a crash when dragging a window to somewhere like another
workspace/viewport. The original drag source widget might have been
destroyed. We're now more solid against this, and use another drag
source widget which lives longer.
Fix bug #420713.
* libwnck/pager.c: (wnck_update_drag_icon): return if the drag source
widget is NULL
(wnck_drag_source_destroyed): new, set the drag source widget to NULL,
instead of keeping an invalid pointer
(_wnck_window_set_as_drag_icon): connect to the finalization for
drag_source. This way, we're more solid.
* libwnck/selector.c: (wnck_selector_drag_begin): use a more long-lived
widget for setting up the drag icon, ie the WnckSelector
* libwnck/tasklist.c: (wnck_task_drag_begin): use a more long-lived
widget for setting up the drag icon, ie the WnckTasklist
_______________________________________________
SVN-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/svn-commits-list