summaryrefslogtreecommitdiff
path: root/gsearchtool/gsearchtool.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-04-30 23:22:36 +0200
committerStefano Karapetsas <[email protected]>2014-04-30 23:22:36 +0200
commita461197a8398b18b2f9bebfd4608395ba334b012 (patch)
treedfa9761db96b4a356af00806daee0a0350c51022 /gsearchtool/gsearchtool.c
parent9f04cbb7ca221f48427779576cc12372f90aa18e (diff)
downloadmate-utils-a461197a8398b18b2f9bebfd4608395ba334b012.tar.bz2
mate-utils-a461197a8398b18b2f9bebfd4608395ba334b012.tar.xz
gsearchtool: Add GTK3 support
Diffstat (limited to 'gsearchtool/gsearchtool.c')
-rw-r--r--gsearchtool/gsearchtool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gsearchtool/gsearchtool.c b/gsearchtool/gsearchtool.c
index 64e753d2..a3f973be 100644
--- a/gsearchtool/gsearchtool.c
+++ b/gsearchtool/gsearchtool.c
@@ -492,7 +492,7 @@ display_dialog_character_set_conversion_error (GtkWidget * window,
gtk_window_set_title (GTK_WINDOW (dialog), "");
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 14);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
g_signal_connect (G_OBJECT (dialog),
"response",
@@ -1860,7 +1860,7 @@ spawn_search_command (GSearchWindow * gsearch,
gtk_window_set_title (GTK_WINDOW (dialog), "");
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 14);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1892,7 +1892,7 @@ spawn_search_command (GSearchWindow * gsearch,
gtk_window_set_title (GTK_WINDOW (dialog), "");
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 14);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);