aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-charset-combo-box.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-charset-combo-box.c')
-rw-r--r--widgets/misc/e-charset-combo-box.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-charset-combo-box.c b/widgets/misc/e-charset-combo-box.c
index 0a977908c6..5f542a6d48 100644
--- a/widgets/misc/e-charset-combo-box.c
+++ b/widgets/misc/e-charset-combo-box.c
@@ -103,8 +103,8 @@ charset_combo_box_run_dialog (ECharsetComboBox *combo_box)
dialog = GTK_DIALOG (widget);
-#if !GTK_CHECK_VERSION(2,21,8)
- gtk_dialog_set_has_separator (dialog, FALSE);
+#if !GTK_CHECK_VERSION(2,90,7)
+ g_object_set (dialog, "has-separator", FALSE, NULL);
#endif
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);