From 67359a9c01adb1418621678975b496964e8e6843 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 20 Mar 2002 17:37:48 +0000 Subject: Remove leftover notification of has-default. (#75508, Jacob Berkman.) Wed Mar 20 12:35:22 2002 Owen Taylor * gtk/gtkwidget.c (gtk_widget_grab_default): Remove leftover notification of has-default. (#75508, Jacob Berkman.) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkwidget.c | 5 +---- 7 files changed, 37 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 782376abf1..0a69f04244 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 20 12:35:22 2002 Owen Taylor + + * 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 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 782376abf1..0a69f04244 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Wed Mar 20 12:35:22 2002 Owen Taylor + + * 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 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 782376abf1..0a69f04244 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Wed Mar 20 12:35:22 2002 Owen Taylor + + * 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 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 782376abf1..0a69f04244 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Wed Mar 20 12:35:22 2002 Owen Taylor + + * 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 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 782376abf1..0a69f04244 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Wed Mar 20 12:35:22 2002 Owen Taylor + + * 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 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 782376abf1..0a69f04244 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Wed Mar 20 12:35:22 2002 Owen Taylor + + * 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 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 9f73dd0c00..35ae74d9fd 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3499,10 +3499,7 @@ gtk_widget_grab_default (GtkWidget *widget) window = gtk_widget_get_toplevel (widget); if (window && GTK_WIDGET_TOPLEVEL (window)) - { - gtk_window_set_default (GTK_WINDOW (window), widget); - g_object_notify (G_OBJECT (widget), "has_default"); - } + gtk_window_set_default (GTK_WINDOW (window), widget); else g_warning (G_STRLOC ": widget not within a GtkWindow"); } -- cgit v1.2.1