aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-07-29 16:07:05 -0500
committerCody Russell <crussell@canonical.com>2010-07-29 16:07:05 -0500
commitb35ee3e7db326ae711af284a59faf31915e45b35 (patch)
treedc7fe3561b004ee5869153febeb0295591fbd806 /src/idoscalemenuitem.c
parentee58467ed38a7a1a5537d4ea9c1fe04b2ae24289 (diff)
downloadayatana-ido-b35ee3e7db326ae711af284a59faf31915e45b35.tar.gz
ayatana-ido-b35ee3e7db326ae711af284a59faf31915e45b35.tar.bz2
ayatana-ido-b35ee3e7db326ae711af284a59faf31915e45b35.zip
bleh
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r--src/idoscalemenuitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 247fb43..4ec4baa 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -468,12 +468,12 @@ ido_scale_menu_item_button_press_event (GtkWidget *menuitem,
translate_event_coordinates (menuitem, event->x_root, &x);
event->x_root = x;
- GTK_OBJECT_FLAGS (scale) |= GTK_HAS_GRAB;
+ ubuntu_gtk_widget_set_has_grab (scale, TRUE);
gtk_widget_event (scale,
((GdkEvent *)(void*)(event)));
- GTK_OBJECT_FLAGS (scale) &= ~(GTK_HAS_GRAB);
+ ubuntu_gtk_widget_set_has_grab (scale, FALSE);
if (!priv->grabbed)
{