summaryrefslogtreecommitdiffstats
path: root/src/widgets/paint-selector.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-04-30 23:08:33 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-04-30 23:08:33 +0000
commit7a38f66b0aefb8da58dd26ec51e4de53e8d1cf95 (patch)
treeefe8370f02cbc6114d100c63ebbc24ad30893bcb /src/widgets/paint-selector.cpp
parentgtkmm-3.0 changes for Gtk::Adjustment (diff)
downloadinkscape-7a38f66b0aefb8da58dd26ec51e4de53e8d1cf95.tar.gz
inkscape-7a38f66b0aefb8da58dd26ec51e4de53e8d1cf95.zip
Fix typos in Gtk3 fixes, and fix separator API usage
(bzr r11309)
Diffstat (limited to 'src/widgets/paint-selector.cpp')
-rw-r--r--src/widgets/paint-selector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp
index 075308321..c1147f9b0 100644
--- a/src/widgets/paint-selector.cpp
+++ b/src/widgets/paint-selector.cpp
@@ -290,7 +290,7 @@ sp_paint_selector_init(SPPaintSelector *psel)
#if GTK_CHECK_VERSION(3,0,0)
psel->frame = gtk_box_new(GTK_ORIENTATION_VERTICAL, 4);
- gtk_box_new(GTK_BOX(psel->frame), FALSE);
+ gtk_box_set_homogeneous(GTK_BOX(psel->frame), FALSE);
#else
psel->frame = gtk_vbox_new(FALSE, 4);
#endif
@@ -664,7 +664,7 @@ static void sp_paint_selector_set_mode_color(SPPaintSelector *psel, SPPaintSelec
/* Create vbox */
#if GTK_CHECK_VERSION(3,0,0)
GtkWidget *vb = gtk_box_new(GTK_ORIENTATION_VERTICAL, 4);
- gtk_box_new(GTK_BOX(vb), FALSE);
+ gtk_box_set_homogeneous(GTK_BOX(vb), FALSE);
#else
GtkWidget *vb = gtk_vbox_new(FALSE, 4);
#endif
@@ -1003,7 +1003,7 @@ static void sp_paint_selector_set_mode_pattern(SPPaintSelector *psel, SPPaintSel
/* Create vbox */
#if GTK_CHECK_VERSION(3,0,0)
tbl = gtk_box_new(GTK_ORIENTATION_VERTICAL, 4);
- gtk_box_new(GTK_BOX(tbl), FALSE);
+ gtk_box_set_homogeneous(GTK_BOX(tbl), FALSE);
#else
tbl = gtk_vbox_new(FALSE, 4);
#endif