aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-06-01 15:53:29 -0400
committerMichael Terry <mike@mterry.name>2011-06-01 15:53:29 -0400
commitdb8bf6c567c8fde73eaf97b8798e86b4ebc0bd4a (patch)
treec1cc80b41491adfd624fe424122019bf0ffdd624 /src/idoscalemenuitem.c
parentda4d22c398ce99def3619836fecd6d65b9b19e1a (diff)
downloadayatana-ido-db8bf6c567c8fde73eaf97b8798e86b4ebc0bd4a.tar.gz
ayatana-ido-db8bf6c567c8fde73eaf97b8798e86b4ebc0bd4a.tar.bz2
ayatana-ido-db8bf6c567c8fde73eaf97b8798e86b4ebc0bd4a.zip
adjustments aren't widgets
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r--src/idoscalemenuitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 720deb9..96ec5d5 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -213,7 +213,7 @@ ido_scale_menu_item_constructed (GObject *object)
{
IdoScaleMenuItem *self = IDO_SCALE_MENU_ITEM (object);
IdoScaleMenuItemPrivate *priv = GET_PRIVATE (self);
- GtkWidget *adj = gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0);
+ GtkAdjustment *adj = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0));
IdoRangeStyle range_style;
GtkWidget *hbox;
@@ -685,7 +685,7 @@ ido_scale_menu_item_new_with_range (const gchar *label,
gdouble max,
gdouble step)
{
- GtkWidget *adjustment = gtk_adjustment_new (value, min, max, step, 10 * step, 0);
+ GtkAdjustment *adjustment = GTK_ADJUSTMENT (gtk_adjustment_new (value, min, max, step, 10 * step, 0));
return GTK_WIDGET (g_object_new (IDO_TYPE_SCALE_MENU_ITEM,
"label", label,