gtk+ r22217 - in trunk: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22217 - in trunk: . gtk
- Date: Sun, 25 Jan 2009 23:54:27 +0000 (UTC)
Author: matthiasc
Date: Sun Jan 25 23:54:27 2009
New Revision: 22217
URL: http://svn.gnome.org/viewvc/gtk+?rev=22217&view=rev
Log:
Set draw-as-radio to TRUE
Modified:
trunk/ChangeLog
trunk/gtk/gtkradioaction.c
Modified: trunk/gtk/gtkradioaction.c
==============================================================================
--- trunk/gtk/gtkradioaction.c (original)
+++ trunk/gtk/gtkradioaction.c Sun Jan 25 23:54:27 2009
@@ -176,6 +176,8 @@
action->private_data = GTK_RADIO_ACTION_GET_PRIVATE (action);
action->private_data->group = g_slist_prepend (NULL, action);
action->private_data->value = 0;
+
+ gtk_toggle_action_set_draw_as_radio (GTK_TOGGLE_ACTION (action), TRUE);
}
/**
@@ -206,12 +208,12 @@
g_return_val_if_fail (name != NULL, NULL);
return g_object_new (GTK_TYPE_RADIO_ACTION,
- "name", name,
- "label", label,
- "tooltip", tooltip,
- "stock-id", stock_id,
- "value", value,
- NULL);
+ "name", name,
+ "label", label,
+ "tooltip", tooltip,
+ "stock-id", stock_id,
+ "value", value,
+ NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]