Patch by: Maxim Ermilov <zaspire@rambler.ru>
2008-11-20 Jens Granseuer <jensgr@gmx.net> Patch by: Maxim Ermilov <zaspire@rambler.ru> * drw-selection.c: (drw_selection_reset), (drw_selection_find_existing): use g_object_unref instead of the deprecated gdk_window_unref (bug #561679) svn path=/trunk/; revision=9147
This commit is contained in:
parent
4bf0fec262
commit
07eda34c36
2 changed files with 19 additions and 11 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-11-20 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
Patch by: Maxim Ermilov <zaspire@rambler.ru>
|
||||
|
||||
* drw-selection.c: (drw_selection_reset),
|
||||
(drw_selection_find_existing): use g_object_unref instead of the
|
||||
deprecated gdk_window_unref (bug #561679)
|
||||
|
||||
==================== 2.25.1 ====================
|
||||
|
||||
==================== 2.24.0.1 ====================
|
||||
|
|
|
@ -46,7 +46,7 @@ drw_selection_reset (DrwSelection *drw_selection)
|
|||
if (drw_selection->owner_window) {
|
||||
gdk_window_remove_filter (drw_selection->owner_window,
|
||||
drw_selection_filter, drw_selection);
|
||||
gdk_window_unref (drw_selection->owner_window);
|
||||
g_object_unref (drw_selection->owner_window);
|
||||
drw_selection->owner_window = NULL;
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,7 @@ drw_selection_find_existing (DrwSelection *drw_selection)
|
|||
return TRUE;
|
||||
} else {
|
||||
if (drw_selection->owner_window) {
|
||||
gdk_window_unref (drw_selection->owner_window);
|
||||
g_object_unref (drw_selection->owner_window);
|
||||
drw_selection->owner_window = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue