aboutsummaryrefslogtreecommitdiff
path: root/example
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
parent6068e6cdb6fa92235c662706c8eabcff4207e1fa (diff)
downloadayatana-indicator-application-67493d4ea9196f625b25e53ffbb26d30dace04dd.tar.gz
ayatana-indicator-application-67493d4ea9196f625b25e53ffbb26d30dace04dd.tar.bz2
ayatana-indicator-application-67493d4ea9196f625b25e53ffbb26d30dace04dd.zip
Showing the toggle_item as well as the others.
Diffstat (limited to 'example')
-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",