Commit b2e180ce authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent fe9f9d03
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
......
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
......
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
......
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
......
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
......
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
......
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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment