summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gtk/gtkactiongroup.c4
6 files changed, 27 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d918ebb9f4..c6f46063fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
+ Don't use first_action without initializing it if n_entries is 0.
+
Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index d918ebb9f4..c6f46063fc 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
+ Don't use first_action without initializing it if n_entries is 0.
+
Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index d918ebb9f4..c6f46063fc 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,8 @@
+Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
+ Don't use first_action without initializing it if n_entries is 0.
+
Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index d918ebb9f4..c6f46063fc 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
+ Don't use first_action without initializing it if n_entries is 0.
+
Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index d918ebb9f4..c6f46063fc 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
+ Don't use first_action without initializing it if n_entries is 0.
+
Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c
index afbebc61b1..051010ed63 100644
--- a/gtk/gtkactiongroup.c
+++ b/gtk/gtkactiongroup.c
@@ -630,7 +630,7 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
GtkTranslateFunc translate_func;
gpointer translate_data;
GSList *group = NULL;
- GtkAction *first_action;
+ GtkAction *first_action = NULL;
g_return_if_fail (GTK_IS_ACTION_GROUP (action_group));
@@ -694,7 +694,7 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
g_object_unref (action);
}
- if (on_change)
+ if (on_change && first_action)
g_signal_connect_data (first_action, "changed",
on_change, user_data,
(GClosureNotify)destroy, 0);