aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-08-03 14:47:05 -0500
committerCody Russell <crussell@canonical.com>2010-08-03 14:47:05 -0500
commitf3893ee568a61cb9f893502113826a29e601e807 (patch)
tree0d63ce638e6c2780f97c6a12756a9285bf2e6fc0
parentb35ee3e7db326ae711af284a59faf31915e45b35 (diff)
downloadayatana-ido-f3893ee568a61cb9f893502113826a29e601e807.tar.gz
ayatana-ido-f3893ee568a61cb9f893502113826a29e601e807.tar.bz2
ayatana-ido-f3893ee568a61cb9f893502113826a29e601e807.zip
Fix for armel build. Patch by David Sugar.
-rw-r--r--src/idorange.c2
-rw-r--r--src/idorange.h2
-rw-r--r--src/idoscalemenuitem.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/idorange.c b/src/idorange.c
index ba5c2c8..c38ac88 100644
--- a/src/idorange.c
+++ b/src/idorange.c
@@ -179,7 +179,7 @@ ido_range_init (IdoRange *range)
* Creates a new #IdoRange widget.
**/
GtkWidget *
-ido_range_new (GtkAdjustment *adj,
+ido_range_new (GtkObject *adj,
IdoRangeStyle style)
{
g_return_val_if_fail (GTK_IS_ADJUSTMENT (adj), NULL);
diff --git a/src/idorange.h b/src/idorange.h
index f502520..a88a900 100644
--- a/src/idorange.h
+++ b/src/idorange.h
@@ -64,7 +64,7 @@ struct _IdoRangeClass
GType ido_range_get_type (void) G_GNUC_CONST;
-GtkWidget* ido_range_new (GtkAdjustment *adj,
+GtkWidget* ido_range_new (GtkObject *adj,
IdoRangeStyle style);
G_END_DECLS
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 4ec4baa..f29c2dc 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -202,7 +202,7 @@ ido_scale_menu_item_constructed (GObject *object)
{
IdoScaleMenuItem *self = IDO_SCALE_MENU_ITEM (object);
IdoScaleMenuItemPrivate *priv = GET_PRIVATE (self);
- GtkAdjustment *adj = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0));
+ GtkObject *adj = gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0);
IdoRangeStyle range_style;
GtkWidget *hbox;