diff options
author | Ted Gould <ted@gould.cx> | 2011-10-12 14:05:06 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-10-12 14:05:06 -0500 |
commit | 8a442cf1e0f414d3cecfa405719e01a4b8c57642 (patch) | |
tree | 94a01cf18306d7c267b84104d77ab300aee2141f | |
parent | 93b180bd9bf92d66cd2e9bd1a8b93c2f2c4f6bb3 (diff) | |
parent | 28c45e5ca4021a6e314e3d5303fc6b07ffd08b65 (diff) | |
download | ayatana-ido-8a442cf1e0f414d3cecfa405719e01a4b8c57642.tar.gz ayatana-ido-8a442cf1e0f414d3cecfa405719e01a4b8c57642.tar.bz2 ayatana-ido-8a442cf1e0f414d3cecfa405719e01a4b8c57642.zip |
Fixes for ARM
-rw-r--r-- | src/idorange.c | 2 | ||||
-rw-r--r-- | src/idorange.h | 2 | ||||
-rw-r--r-- | src/idoscalemenuitem.c | 4 |
3 files changed, 4 insertions, 4 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..b7c93b7 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; @@ -745,7 +745,7 @@ ido_scale_menu_item_new_with_range (const gchar *label, gdouble max, gdouble step) { - GtkAdjustment *adjustment = GTK_ADJUSTMENT (gtk_adjustment_new (value, min, max, step, 10 * step, 0)); + GObject *adjustment = G_OBJECT (gtk_adjustment_new (value, min, max, step, 10 * step, 0)); return GTK_WIDGET (g_object_new (IDO_TYPE_SCALE_MENU_ITEM, "label", label, |