diff options
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r-- | src/idoscalemenuitem.c | 12 |
1 files changed, 8 insertions, 4 deletions
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; } |