diff options
-rw-r--r-- | gtk/compat_macros.h | 4 | ||||
-rw-r--r-- | gtk/fileset_dlg.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/gtk/compat_macros.h b/gtk/compat_macros.h index 0b735cf684..b00e2f7db6 100644 --- a/gtk/compat_macros.h +++ b/gtk/compat_macros.h @@ -162,10 +162,6 @@ gtk_widget_set_size_request(GTK_WIDGET(widget), width, height) gtk_radio_button_new_with_mnemonic_from_widget( \ radio_group ? GTK_RADIO_BUTTON(radio_group) : NULL, label_text) -#define RADIO_BUTTON_NEW_WITH_LABEL(radio_group, label_text) \ -gtk_radio_button_new_with_label_from_widget( \ - radio_group ? GTK_RADIO_BUTTON(radio_group) : NULL, label_text) - /* for details, see "Pango Text Attribute Markup" */ /* maybe it's a good idea to keep this macro beyond the ongoing GTK1 cleanup! If we want to change the look of the dialog boxes primary line the other day, diff --git a/gtk/fileset_dlg.c b/gtk/fileset_dlg.c index 1f9b339623..74126bd38f 100644 --- a/gtk/fileset_dlg.c +++ b/gtk/fileset_dlg.c @@ -184,7 +184,8 @@ fileset_dlg_add_file(fileset_entry *entry) { local->tm_hour, local->tm_min, local->tm_sec); size = g_strdup_printf("%ld Bytes", entry->size); - fs_rb = RADIO_BUTTON_NEW_WITH_LABEL(fs_first_rb, entry->name); + fs_rb = gtk_radio_button_new_with_label_from_widget( + fs_first_rb ? GTK_RADIO_BUTTON(fs_first_rb) : NULL, entry->name); if(row == 1) { fs_first_rb = fs_rb; } |