aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-06-01 16:08:47 -0400
committerMichael Terry <mike@mterry.name>2011-06-01 16:08:47 -0400
commitcd59e86ecac12aef184e3306226d8fb2b7331a7a (patch)
tree85e486597f560c5dc6d6fffe88546fd9471e7979
parentdb8bf6c567c8fde73eaf97b8798e86b4ebc0bd4a (diff)
downloadayatana-ido-cd59e86ecac12aef184e3306226d8fb2b7331a7a.tar.gz
ayatana-ido-cd59e86ecac12aef184e3306226d8fb2b7331a7a.tar.bz2
ayatana-ido-cd59e86ecac12aef184e3306226d8fb2b7331a7a.zip
drop deprecated use of event_window
-rw-r--r--src/idoscalemenuitem.c5
1 files changed, 0 insertions, 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;