aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-05-27 09:06:46 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-05-27 09:06:46 -0400
commit3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3 (patch)
tree61ae8d203853d3474aeb58c21953bf172fc525d5 /src/idoscalemenuitem.c
parent33ab93de41a2e6985661d79788873fb774e624b5 (diff)
downloadayatana-ido-3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3.tar.gz
ayatana-ido-3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3.tar.bz2
ayatana-ido-3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3.zip
porting to gtk3, WIP
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r--src/idoscalemenuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 39cecbb..5d522ca 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);
- GtkObject *adj = gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0);
+ GtkWidget *adj = gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0);
IdoRangeStyle range_style;
GtkWidget *hbox;
@@ -261,7 +261,7 @@ static void
ido_scale_menu_item_class_init (IdoScaleMenuItemClass *item_class)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (item_class);
- GtkObjectClass *object_class = GTK_OBJECT_CLASS (item_class);
+ GtkWidgetClass *object_class = GTK_OBJECT_CLASS (item_class);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (item_class);
widget_class->button_press_event = ido_scale_menu_item_button_press_event;
@@ -688,7 +688,7 @@ ido_scale_menu_item_new_with_range (const gchar *label,
gdouble max,
gdouble step)
{
- GtkObject *adjustment = gtk_adjustment_new (value, min, max, step, 10 * step, 0);
+ GtkWidget *adjustment = gtk_adjustment_new (value, min, max, step, 10 * step, 0);
return g_object_new (IDO_TYPE_SCALE_MENU_ITEM,
"label", label,