forked from AuroraMiddleware/gtk
Only ref the window if it isn't NULL.
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c (gdk_event_copy): Only ref the window if it isn't NULL.
This commit is contained in:
parent
fe9f9d03f4
commit
b2e180cea0
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Oct 25 20:10:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
|
||||
it isn't NULL.
|
||||
|
||||
2000-11-01 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
|
||||
|
@ -297,7 +297,8 @@ gdk_event_copy (GdkEvent *event)
|
||||
new_event = gdk_event_new ();
|
||||
|
||||
*new_event = *event;
|
||||
gdk_window_ref (new_event->any.window);
|
||||
if (new_event->any.window)
|
||||
gdk_window_ref (new_event->any.window);
|
||||
|
||||
switch (event->any.type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user