aboutsummaryrefslogtreecommitdiff
path: root/example/simple-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-13 18:53:19 -0600
committerTed Gould <ted@gould.cx>2010-01-13 18:53:19 -0600
commit67493d4ea9196f625b25e53ffbb26d30dace04dd (patch)
treebdab0e0607249fbffcc27793fb87762ad47049ea /example/simple-client.c
parent6068e6cdb6fa92235c662706c8eabcff4207e1fa (diff)
downloadlibayatana-appindicator-67493d4ea9196f625b25e53ffbb26d30dace04dd.tar.gz
libayatana-appindicator-67493d4ea9196f625b25e53ffbb26d30dace04dd.tar.bz2
libayatana-appindicator-67493d4ea9196f625b25e53ffbb26d30dace04dd.zip
Showing the toggle_item as well as the others.
Diffstat (limited to 'example/simple-client.c')
-rw-r--r--example/simple-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple-client.c b/example/simple-client.c
index 83c2335..6dcf5d1 100644
--- a/example/simple-client.c
+++ b/example/simple-client.c
@@ -91,7 +91,7 @@ main (int argc, char ** argv)
g_signal_connect (toggle_item, "activate",
G_CALLBACK (toggle_sensitivity_cb), item);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), toggle_item);
- gtk_widget_show(item);
+ gtk_widget_show(toggle_item);
item = gtk_image_menu_item_new_from_stock (GTK_STOCK_NEW, NULL);
g_signal_connect (item, "activate",