summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-20 17:37:48 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-20 17:37:48 +0000
commit67359a9c01adb1418621678975b496964e8e6843 (patch)
tree50ad82a7c16173d7681a3dccacb7adf1a5325e7e
parentae735e1b2bb7b076b016fb03889c2736cbe3d564 (diff)
downloadgtk+-67359a9c01adb1418621678975b496964e8e6843.tar.gz
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.)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtkwidget.c5
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 <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>
* 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 <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>
* 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 <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>
* 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 <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>
* 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 <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>
* 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 <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>
* 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");
}