aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--docs/reference/html/ch01.html2
-rw-r--r--src/libappindicator/app-indicator.c6
3 files changed, 14 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index b6a0673..9762c0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+indicator-application (0.2.0~dev-0ubuntu1~ppa2) lucid; urgency=low
+
+ * Upstream Merge
+ * Unref the child that was created
+
+ -- Ted Gould <ted@ubuntu.com> Thu, 20 May 2010 14:11:57 -0500
+
indicator-application (0.2.0~dev-0ubuntu1~ppa1) lucid; urgency=low
* Upstream Merge
diff --git a/docs/reference/html/ch01.html b/docs/reference/html/ch01.html
index e549aea..d1a4792 100644
--- a/docs/reference/html/ch01.html
+++ b/docs/reference/html/ch01.html
@@ -21,7 +21,7 @@
</tr></table>
<div class="chapter" title="Base Classes for Applications">
<div class="titlepage"><div><div><h2 class="title">
-<a name="id525511"></a>Base Classes for Applications</h2></div></div></div>
+<a name="id387749"></a>Base Classes for Applications</h2></div></div></div>
<div class="toc"><dl><dt>
<span class="refentrytitle"><a href="libappindicator-app-indicator.html">AppIndicator</a></span><span class="refpurpose"> — An object to put application information
into the panel.</span>
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 132e279..f7e121b 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -1408,6 +1408,12 @@ container_iterate (GtkWidget *widget,
DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED,
G_CALLBACK (activate_menuitem), widget);
dbusmenu_menuitem_child_append (root, child);
+
+ /* Get rid of initial ref now that the root is
+ holding the object */
+ g_object_unref(child);
+
+ return;
}
static void