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:
Owen Taylor 2000-11-01 15:55:48 +00:00 committed by Owen Taylor
parent fe9f9d03f4
commit b2e180cea0
8 changed files with 37 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)
{