aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals <albert.astals@canonical.com>2012-10-16 13:22:25 +0200
committerAlbert Astals <albert.astals@canonical.com>2012-10-16 13:22:25 +0200
commit3019e05fc39f667a14affe5ec6a65aded93d0512 (patch)
tree87166d11462d28265f8d4908982e594618edd8ca
parentf107cada953899d4077198f4c4cc0fff62229a0a (diff)
downloadlibdbusmenu-3019e05fc39f667a14affe5ec6a65aded93d0512.tar.gz
libdbusmenu-3019e05fc39f667a14affe5ec6a65aded93d0512.tar.bz2
libdbusmenu-3019e05fc39f667a14affe5ec6a65aded93d0512.zip
spacing
-rw-r--r--libdbusmenu-gtk/parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index 5d49c7e..1658bdc 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -1123,11 +1123,11 @@ item_activated (DbusmenuMenuitem *item, guint timestamp, gpointer user_data)
{
GtkWidget *parent = gtk_widget_get_parent(child);
if (GTK_IS_MENU (parent))
- {
- gint pos = get_child_position (child);
- if (pos >= 0)
- gtk_menu_set_active (GTK_MENU(parent), pos);
- }
+ {
+ gint pos = get_child_position (child);
+ if (pos >= 0)
+ gtk_menu_set_active (GTK_MENU(parent), pos);
+ }
gdk_threads_enter ();
gtk_menu_item_activate (GTK_MENU_ITEM (child));