diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | src/libappindicator/app-indicator.c | 9 |
2 files changed, 13 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index b0f12a3..4bd0fd0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-application (0.0.13-0ubuntu3~ppa2) UNRELEASED; urgency=low + + * Upstream Merge + * Fixing a crash by checking for NULL + + -- Ted Gould <ted@ubuntu.com> Tue, 16 Feb 2010 10:29:07 -0600 + indicator-application (0.0.13-0ubuntu3~ppa1) lucid; urgency=low * Upstream Merge diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 0324a34..88f6bb6 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -1252,9 +1252,12 @@ setup_dbusmenu (AppIndicator *self) priv = self->priv; root = dbusmenu_menuitem_new (); - gtk_container_forall (GTK_CONTAINER (priv->menu), - container_iterate, - root); + if (priv->menu) + { + gtk_container_forall (GTK_CONTAINER (priv->menu), + container_iterate, + root); + } if (priv->menuservice == NULL) { |