mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
ref/unref around gtk_widget_event() if we are going to set a flag
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_main_do_event): ref/unref around gtk_widget_event() if we are going to set a flag afterwards. (#63464)
This commit is contained in:
parent
05969ed566
commit
55676c57bd
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
|
||||
around gtk_widget_event() if we are going to
|
||||
set a flag afterwards. (#63464)
|
||||
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
|
@ -1089,9 +1089,13 @@ gtk_main_do_event (GdkEvent *event)
|
||||
case GDK_ENTER_NOTIFY:
|
||||
if (GTK_WIDGET_IS_SENSITIVE (grab_widget))
|
||||
{
|
||||
g_object_ref (event_widget);
|
||||
|
||||
gtk_widget_event (grab_widget, event);
|
||||
if (event_widget == grab_widget)
|
||||
GTK_PRIVATE_SET_FLAG (event_widget, GTK_LEAVE_PENDING);
|
||||
|
||||
g_object_unref (event_widget);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user