From cd59e86ecac12aef184e3306226d8fb2b7331a7a Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Wed, 1 Jun 2011 16:08:47 -0400 Subject: drop deprecated use of event_window --- src/idoscalemenuitem.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index 96ec5d5..88bb8ae 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -502,7 +502,6 @@ ido_scale_menu_item_button_release_event (GtkWidget *menuitem, { IdoScaleMenuItemPrivate *priv = GET_PRIVATE (menuitem); GtkWidget *scale = priv->scale; - GdkWindow *tmp = event->window; gdouble x; if (event->x > priv->child_allocation.x && @@ -551,8 +550,6 @@ ido_scale_menu_item_button_release_event (GtkWidget *menuitem, return TRUE; } - event->window = GTK_RANGE (scale)->event_window; - translate_event_coordinates (menuitem, event->x, &x); event->x = x; @@ -562,8 +559,6 @@ ido_scale_menu_item_button_release_event (GtkWidget *menuitem, gtk_widget_event (scale, ((GdkEvent *)(void*)(event))); - event->window = tmp; - if (priv->grabbed) { priv->grabbed = FALSE; -- cgit v1.2.3