aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/prefs_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-02 23:53:04 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-02 23:53:04 +0000
commitdbc4b09004c68833f1cc4007be7c9043caa959c8 (patch)
tree285754e67a583b99c9a41b9b9cf7f6f1a4bb0679 /ui/gtk/prefs_dlg.c
parentaa95f6b73d6490bd7ab74a140af9e2f018099814 (diff)
From Evan Huus Convert a bunch more GTK-2 calls to their cross-version ws_ equivalent
svn path=/trunk/; revision=43009
Diffstat (limited to 'ui/gtk/prefs_dlg.c')
-rw-r--r--ui/gtk/prefs_dlg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/gtk/prefs_dlg.c b/ui/gtk/prefs_dlg.c
index 479c3b2e39..696dc9acea 100644
--- a/ui/gtk/prefs_dlg.c
+++ b/ui/gtk/prefs_dlg.c
@@ -336,7 +336,7 @@ module_prefs_show(module_t *module, gpointer user_data)
g_object_set_data(G_OBJECT(main_sw), E_PAGESW_FRAME_KEY, frame);
/* Main vertical box */
- main_vb = gtk_vbox_new(FALSE, 5);
+ main_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 5, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(main_vb), 5);
gtk_container_add(GTK_CONTAINER(frame), main_vb);
@@ -450,13 +450,13 @@ prefs_page_cb(GtkWidget *w _U_, gpointer dummy _U_, PREFS_PAGE_E prefs_page)
*/
/* Container for each row of widgets */
- cts.main_vb = gtk_vbox_new(FALSE, 5);
+ cts.main_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 5, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(cts.main_vb), 5);
gtk_container_add(GTK_CONTAINER(prefs_w), cts.main_vb);
gtk_widget_show(cts.main_vb);
/* Top row: Preferences tree and notebook */
- top_hb = gtk_hbox_new(FALSE, 10);
+ top_hb = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 10, FALSE);
gtk_container_add(GTK_CONTAINER(cts.main_vb), top_hb);
gtk_widget_show(top_hb);
@@ -705,7 +705,7 @@ create_preference_radio_buttons(GtkWidget *main_tb, int table_position,
set_option_label(main_tb, table_position, label_text, tooltip_text);
- radio_button_hbox = gtk_hbox_new(FALSE, 0);
+ radio_button_hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0, FALSE);
rb_group = NULL;
for (enum_valp = enumvals, idx = 0; enum_valp->name != NULL;
enum_valp++, idx++) {
@@ -815,7 +815,7 @@ create_preference_option_menu(GtkWidget *main_tb, int table_position,
* as the widest entry, rather than being as wide as the table
* space.
*/
- menu_box = gtk_hbox_new(FALSE, 0);
+ menu_box = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0, FALSE);
gtk_box_pack_start(GTK_BOX(menu_box), combo_box, FALSE, FALSE, 0);
event_box = gtk_event_box_new();