aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-10-05 13:41:37 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-10-05 13:41:37 -0400
commitfcda383783e9d34dc4855cc57c93dd83921d4c19 (patch)
tree573d1219795f00c70d9889cde625104edf26f888 /src
parent93b180bd9bf92d66cd2e9bd1a8b93c2f2c4f6bb3 (diff)
downloadayatana-ido-fcda383783e9d34dc4855cc57c93dd83921d4c19.tar.gz
ayatana-ido-fcda383783e9d34dc4855cc57c93dd83921d4c19.tar.bz2
ayatana-ido-fcda383783e9d34dc4855cc57c93dd83921d4c19.zip
Fixed FTBFS on armel (LP: #866039)
Diffstat (limited to 'src')
-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 7c55d47..83ab14b 100644
--- a/src/idorange.c
+++ b/src/idorange.c
@@ -203,7 +203,7 @@ ido_range_init (IdoRange *range)
* Creates a new #IdoRange widget.
**/
GtkWidget *
-ido_range_new (GtkAdjustment *adj,
+ido_range_new (GObject *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..0dd6952 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 (GObject *adj,
IdoRangeStyle style);
G_END_DECLS
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 8a55299..4608e98 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -225,7 +225,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));
+ GObject *adj = G_OBJECT (gtk_adjustment_new (0.0, 0.0, 100.0, 1.0, 10.0, 0.0));
IdoRangeStyle range_style;
GtkWidget *hbox;