summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-08-08 12:20:37 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-08-08 12:20:37 +0200
commit14b7e04d8c0611a935cd6ad68c390e4c5a6512b6 (patch)
tree9bb3d440bc5ddc4d6e3eb1ff4df299aaba6c1c3f
parent24115914342fc640f6a9d1f8ee1b6d59c8e9a253 (diff)
gtk: initialize GtkCheckMenuItem
-rw-r--r--modules/gtk/gtk_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gtk/gtk_mod.c b/modules/gtk/gtk_mod.c
index eb8b395..427912c 100644
--- a/modules/gtk/gtk_mod.c
+++ b/modules/gtk/gtk_mod.c
@@ -220,7 +220,7 @@ static void update_current_accounts_menu_item(struct gtk_mod *mod)
static void update_ua_presence(struct gtk_mod *mod)
{
- GtkCheckMenuItem *item;
+ GtkCheckMenuItem *item = 0;
enum presence_status cur_status;
void *status;
GtkMenuShell *status_menu = GTK_MENU_SHELL(mod->status_menu);