mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Remove leftover notification of has-default. (#75508, Jacob Berkman.)
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_grab_default): Remove leftover notification of has-default. (#75508, Jacob Berkman.)
This commit is contained in:
parent
ae735e1b2b
commit
67359a9c01
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
|
||||||
|
leftover notification of has-default. (#75508, Jacob
|
||||||
|
Berkman.)
|
||||||
|
|
||||||
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
|
||||||
|
leftover notification of has-default. (#75508, Jacob
|
||||||
|
Berkman.)
|
||||||
|
|
||||||
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
|
||||||
|
leftover notification of has-default. (#75508, Jacob
|
||||||
|
Berkman.)
|
||||||
|
|
||||||
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
|
||||||
|
leftover notification of has-default. (#75508, Jacob
|
||||||
|
Berkman.)
|
||||||
|
|
||||||
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
|
||||||
|
leftover notification of has-default. (#75508, Jacob
|
||||||
|
Berkman.)
|
||||||
|
|
||||||
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
|
||||||
|
leftover notification of has-default. (#75508, Jacob
|
||||||
|
Berkman.)
|
||||||
|
|
||||||
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
|
||||||
|
@ -3499,10 +3499,7 @@ gtk_widget_grab_default (GtkWidget *widget)
|
|||||||
window = gtk_widget_get_toplevel (widget);
|
window = gtk_widget_get_toplevel (widget);
|
||||||
|
|
||||||
if (window && GTK_WIDGET_TOPLEVEL (window))
|
if (window && GTK_WIDGET_TOPLEVEL (window))
|
||||||
{
|
gtk_window_set_default (GTK_WINDOW (window), widget);
|
||||||
gtk_window_set_default (GTK_WINDOW (window), widget);
|
|
||||||
g_object_notify (G_OBJECT (widget), "has_default");
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
g_warning (G_STRLOC ": widget not within a GtkWindow");
|
g_warning (G_STRLOC ": widget not within a GtkWindow");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user