aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/eggradiotoolbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg/eggradiotoolbutton.c')
-rw-r--r--lib/egg/eggradiotoolbutton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/egg/eggradiotoolbutton.c b/lib/egg/eggradiotoolbutton.c
index ec14990b8..885654abf 100644
--- a/lib/egg/eggradiotoolbutton.c
+++ b/lib/egg/eggradiotoolbutton.c
@@ -90,10 +90,11 @@ egg_radio_tool_button_new_from_stock (GSList *group,
const gchar *stock_id)
{
EggRadioToolButton *button;
+
+ g_return_val_if_fail (stock_id != NULL, NULL);
button = g_object_new (EGG_TYPE_RADIO_TOOL_BUTTON,
"stock_id", stock_id,
- "use_underline", TRUE,
NULL);