summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-12-02 11:37:57 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-12-02 11:37:57 +0000
commitdc005b16ba5f51e635231787ec2733db244309ef (patch)
tree8acfc000e1eab90d8c0e08ffc50dce78ab4fbf2e /src/widgets
parentMigrate sp-color-wheel-selector to GtkGrid (diff)
downloadinkscape-dc005b16ba5f51e635231787ec2733db244309ef.tar.gz
inkscape-dc005b16ba5f51e635231787ec2733db244309ef.zip
Fix permissive casting in sp-color-wheel-selector
(bzr r11921)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/sp-color-wheel-selector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/sp-color-wheel-selector.cpp b/src/widgets/sp-color-wheel-selector.cpp
index 57b762d0e..57ce86ff6 100644
--- a/src/widgets/sp-color-wheel-selector.cpp
+++ b/src/widgets/sp-color-wheel-selector.cpp
@@ -174,7 +174,7 @@ void ColorWheelSelector::init()
gtk_widget_set_vexpand(_wheel, TRUE);
gtk_grid_attach(GTK_GRID(t), _wheel, 0, row, 3, 1);
#else
- gtk_table_attach( GTK_TABLE(t), _wheel, 0, 3, row, row + 1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
+ gtk_table_attach(GTK_TABLE(t), _wheel, 0, 3, row, row + 1, (GtkAttachOptions)(GTK_EXPAND | GTK_FILL), (GtkAttachOptions)(GTK_EXPAND | GTK_FILL), 0, 0);
#endif
row++;
@@ -214,7 +214,7 @@ void ColorWheelSelector::init()
gtk_widget_set_valign(_slider, GTK_ALIGN_FILL);
gtk_grid_attach(GTK_GRID(t), _slider, 1, row, 1, 1);
#else
- gtk_table_attach (GTK_TABLE (t), _slider, 1, 2, row, row + 1, GTK_EXPAND | GTK_FILL, GTK_FILL, XPAD, YPAD);
+ gtk_table_attach(GTK_TABLE (t), _slider, 1, 2, row, row + 1, (GtkAttachOptions)(GTK_EXPAND | GTK_FILL), GTK_FILL, XPAD, YPAD);
#endif
sp_color_slider_set_colors (SP_COLOR_SLIDER (_slider),
@@ -237,7 +237,7 @@ void ColorWheelSelector::init()
gtk_widget_set_margin_bottom(_sbtn, YPAD);
gtk_grid_attach(GTK_GRID(t), _sbtn, 2, row, 1, 1);
#else
- gtk_table_attach (GTK_TABLE (t), _sbtn, 2, 3, row, row + 1, 0, 0, XPAD, YPAD);
+ gtk_table_attach (GTK_TABLE (t), _sbtn, 2, 3, row, row + 1, (GtkAttachOptions)0, (GtkAttachOptions)0, XPAD, YPAD);
#endif
/* Signals */