diff options
author | Cody Russell <crussell@canonical.com> | 2010-02-05 14:19:30 -0800 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2010-02-05 14:19:30 -0800 |
commit | d03f386062621035cfb774436913d426878a1df8 (patch) | |
tree | 43c4504d4c58b6cde53c6a50b4ca361329ac7071 /src | |
parent | e892ebeac57c5481a834ba16f902609f226a9ca4 (diff) | |
parent | 518846a958abc8c9bbe2e17daab24b0f28e2b2e9 (diff) | |
download | ayatana-ido-d03f386062621035cfb774436913d426878a1df8.tar.gz ayatana-ido-d03f386062621035cfb774436913d426878a1df8.tar.bz2 ayatana-ido-d03f386062621035cfb774436913d426878a1df8.zip |
Fix build for ARM architecture
Diffstat (limited to 'src')
-rw-r--r-- | src/idoentrymenuitem.c | 2 | ||||
-rw-r--r-- | src/idoscalemenuitem.c | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/idoentrymenuitem.c b/src/idoentrymenuitem.c index 81a2f89..1729c38 100644 --- a/src/idoentrymenuitem.c +++ b/src/idoentrymenuitem.c @@ -128,7 +128,7 @@ ido_entry_menu_item_key_press (GtkWidget *widget, if (menuitem->priv->selected) { gtk_widget_event (menuitem->priv->entry, - (GdkEvent *)event); + ((GdkEvent *)(void*)(event))); } return FALSE; diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index 0767364..08f54e7 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -79,7 +79,8 @@ ido_scale_menu_item_scroll_event (GtkWidget *menuitem, { GtkWidget *scale = GET_PRIVATE (IDO_SCALE_MENU_ITEM (menuitem))->scale; - gtk_widget_event (scale, (GdkEvent *) event); + gtk_widget_event (scale, + ((GdkEvent *)(void*)(event))); return TRUE; } @@ -296,7 +297,8 @@ ido_scale_menu_item_button_press_event (GtkWidget *menuitem, event->x -= priv->child_allocation.x; event->x_root -= priv->child_allocation.x; - gtk_widget_event (scale, (GdkEvent *)event); + gtk_widget_event (scale, + ((GdkEvent *)(void*)(event))); return TRUE; } @@ -313,7 +315,8 @@ ido_scale_menu_item_button_release_event (GtkWidget *menuitem, event->x -= priv->child_allocation.x; event->x_root -= priv->child_allocation.x; - gtk_widget_event (scale, (GdkEvent *) event); + gtk_widget_event (scale, + ((GdkEvent *)(void*)(event))); event->window = tmp; @@ -330,7 +333,8 @@ ido_scale_menu_item_motion_notify_event (GtkWidget *menuitem, event->x -= priv->child_allocation.x; event->x_root -= priv->child_allocation.x; - gtk_widget_event (scale, (GdkEvent *) event); + gtk_widget_event (scale, + ((GdkEvent *)(void*)(event))); return TRUE; } |