aboutsummaryrefslogtreecommitdiff
path: root/src/idocalendarmenuitem.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/idocalendarmenuitem.c
parentee58467ed38a7a1a5537d4ea9c1fe04b2ae24289 (diff)
downloadayatana-ido-b35ee3e7db326ae711af284a59faf31915e45b35.tar.gz
ayatana-ido-b35ee3e7db326ae711af284a59faf31915e45b35.tar.bz2
ayatana-ido-b35ee3e7db326ae711af284a59faf31915e45b35.zip
bleh
Diffstat (limited to 'src/idocalendarmenuitem.c')
-rw-r--r--src/idocalendarmenuitem.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c
index 9ad68bb..fca4bb6 100644
--- a/src/idocalendarmenuitem.c
+++ b/src/idocalendarmenuitem.c
@@ -121,13 +121,7 @@ ido_calendar_menu_item_send_focus_change (GtkWidget *widget,
g_object_ref (widget);
if (in)
- {
- GTK_WIDGET_SET_FLAGS (widget, GTK_HAS_FOCUS);
- }
- else
- {
- GTK_WIDGET_UNSET_FLAGS (widget, GTK_HAS_FOCUS);
- }
+ gtk_widget_grab_focus (widget);
event->focus_change.type = GDK_FOCUS_CHANGE;
event->focus_change.window = g_object_ref (widget->window);