summaryrefslogtreecommitdiff
path: root/charpick/properties.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-19 20:01:03 +0100
committerStefano Karapetsas <[email protected]>2014-01-19 20:01:03 +0100
commitc2ef8063f9353b4e9fa315a35ce47f7bc7fefe53 (patch)
treea9ecab6e68ce3e4f0135d8c2f959b781dbbaf265 /charpick/properties.c
parent83e7a0b1bd79765e8126ab81c19ccc62a07588b6 (diff)
downloadmate-applets-c2ef8063f9353b4e9fa315a35ce47f7bc7fefe53.tar.bz2
mate-applets-c2ef8063f9353b4e9fa315a35ce47f7bc7fefe53.tar.xz
charpick: Add GTK3 support
Diffstat (limited to 'charpick/properties.c')
-rw-r--r--charpick/properties.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/charpick/properties.c b/charpick/properties.c
index 5ff2b68e..80bea55c 100644
--- a/charpick/properties.c
+++ b/charpick/properties.c
@@ -92,8 +92,7 @@ add_edit_dialog_create (charpick_data *curr_data, gchar *string, gchar *title)
GtkWidget *label;
dialog = gtk_dialog_new_with_buttons (_(title), GTK_WINDOW (curr_data->propwindow),
- GTK_DIALOG_DESTROY_WITH_PARENT |
- GTK_DIALOG_NO_SEPARATOR,
+ GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
@@ -550,7 +549,9 @@ show_preferences_dialog (GtkAction *action,
gtk_container_set_border_width (GTK_CONTAINER (curr_data->propwindow), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area(GTK_DIALOG (curr_data->propwindow))), 2);
gtk_dialog_set_default_response (GTK_DIALOG (curr_data->propwindow), GTK_RESPONSE_CLOSE);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (curr_data->propwindow), FALSE);
+#endif
default_chars_frame_create(curr_data);
g_signal_connect (G_OBJECT (curr_data->propwindow), "response",