aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-user-creatable-items-handler.c
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-07-26 20:35:14 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-07-26 20:35:14 +0800
commit0aa26a1e49d1595f0e250982dd3e13f82323efbc (patch)
tree2b55d99af89a94eafdf05dc651a32146377c2d79 /shell/e-user-creatable-items-handler.c
parent98f9681d831902650761dc54255f728d995978f2 (diff)
downloadgsoc2013-evolution-0aa26a1e49d1595f0e250982dd3e13f82323efbc.tar.gz
gsoc2013-evolution-0aa26a1e49d1595f0e250982dd3e13f82323efbc.tar.zst
gsoc2013-evolution-0aa26a1e49d1595f0e250982dd3e13f82323efbc.zip
Plugged memory leaks.
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-shell-window-command.c: (view_statusbar_item_toggled_handler), (view_sidebar_item_toggled_handler): * e-shell-window.c: (setup_status_bar): * e-user-creatable-items-handler.c: (setup_toolbar_button): Plugged memory leaks. svn path=/trunk/; revision=33851
Diffstat (limited to 'shell/e-user-creatable-items-handler.c')
-rw-r--r--shell/e-user-creatable-items-handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c
index 392f2ab3b7..311cd14bcd 100644
--- a/shell/e-user-creatable-items-handler.c
+++ b/shell/e-user-creatable-items-handler.c
@@ -740,6 +740,7 @@ setup_toolbar_button (EUserCreatableItemsHandler *handler)
priv->default_menu_item = get_default_action_for_view (handler);
if (!priv->default_menu_item) {
gtk_widget_set_sensitive (priv->new_button, FALSE);
+ g_object_unref (gconf);
return;
}
@@ -757,6 +758,7 @@ setup_toolbar_button (EUserCreatableItemsHandler *handler)
gtk_tooltips_set_tip (priv->tooltips, priv->new_button,
priv->default_menu_item->tooltip, NULL);
g_free (val);
+ g_object_unref (gconf);
}
'>+6 * Update to 3.0.11.kuriyama2005-02-0711-176/+46 * Update to 1.51krion2005-02-072-3/+3 * add libmsn 3.2ijliao2005-02-066-0/+77 * Properly install README as stated in the PORTDOCS variable.edwin2005-02-061-0/+5 * - Update to 0.98.2pav2005-02-0611-55/+333 * - Update to 0.9.5pav2005-02-064-12/+6 * Update port: net/pear-Net_POP3edwin2005-02-052-3/+3 * VPOPMAILDIR?= ${LOCALBASE}/vpopmailoliver2005-02-053-12/+32 * Update to 1.0.0.1.rushani2005-02-054-8/+8 * use PLIST_FILES.ume2005-02-044-10/+9 * - update to 4.20.0clsung2005-02-043-18/+3 * Fix warnings. Default to ssh. Don't insist, that the remote hostnamemi2005-02-047-11/+168 * - Update to bsd.java.mk 2.0hq2005-02-041-7/+9 * - Update to bsd.java.mk 2.0hq2005-02-043-19/+25 * - Update to 1.0.0clement2005-02-042-3/+3 * - Bump PORTREVISION (I forget to commit this file)clement2005-02-041-0/+1 * - Fix plistclement2005-02-041-0/+2 * Update to OpenLDAP 2.2.23:eik2005-02-0315-63/+186 * - Update to 1.3pav2005-02-033-11/+6 * Add EXAMPLES_DIR to PLIST_DIRS so it is delete on uninstall.brooks2005-02-021-0/+1 * Unbreak on 5.x and 6.0 based on [1].kwm2005-02-026-50/+76 * - Update to 4.7.0sem2005-02-012-3/+3 * - Mark BROKEN on ia64sem2005-02-011-2/+2 * After a crash jabberd refuses to run if a pidfile exists.vs2005-02-012-1/+13 * Update to version 1.0.4krion2005-02-017-6/+194 * o Fix patch #3676 from patch kit p with patch [2] from [1]: BT/fileTPlioux2005-01-312-1/+19 * - Fix RUN_DEPENDSahze2005-01-311-1/+1 * - Update to 0.90ahze2005-01-312-5/+6 * Split the postgresql ports into a server and a client part.girgen2005-01-316-12/+7 * o Disable patch #3672 [1] from patch kit p, the patch for uploadinglioux2005-01-312-0/+12 * Set NO_LATEST_LINK.krion2005-01-311-0/+1 * - Remove dead mastersitepav2005-01-301-2/+1 * upgrade to OSSP sa 1.2.4rse2005-01-302-3/+3 * Upgrade to 1.9.15dd2005-01-302-3/+3 * Update to 2005.01.29.nork2005-01-302-3/+3 * * Update to 0.9.10marcus2005-01-304-12/+50 * Build against libpcap from ports instead of the base system by default.bms2005-01-301-10/+4 * Add ports to ${SUBDIR} in alphabetical order.cperciva2005-01-301-1/+1 * Although this port was committed via PR ports/76300 and assigned to ports@,linimon2005-01-301-1/+1 * Update to development version 2.5.28 patch kit plioux2005-01-292-7/+3 * - Update to 1.0.1pav2005-01-293-5/+9 * Fix the build on 4.X.marcus2005-01-292-0/+22 * - Update to 4.19pav2005-01-292-5/+4 * Add net/pypvm, PVM support for Python.brooks2005-01-294-0/+54 * Update to 1.50krion2005-01-282-3/+3 * Point to more informative URL in WWW line.krion2005-01-281-1/+1 * Bump lib version for games/libggzkrion2005-01-281-1/+2 * Update to 0.10.9. See http://www.ethereal.com/news/item_20050120_01.html formarcus2005-01-286-6/+8 * - Improve handling of configuration filepav2005-01-283-1/+20 * - Update to 2.10.2pav2005-01-2718-132/+210 * - Update to 1.1.30clement2005-01-266-6/+8 * Mark BROKEN on alphakevlo2005-01-261-2/+7 * Update to 0.11.7.3kevlo2005-01-262-3/+3 * - Add a missing file RPC/PlClient/Comm.pm and @dirrm into plist.kuriyama2005-01-262-0/+3 * - Fix fetchingpav2005-01-261-1/+1 * - Fix build on alpha/4.xpav2005-01-263-4/+26 * fix pkg-plistoliver2005-01-261-2/+4 * Give variable a more sane name.danfe2005-01-251-3/+3 * Unbreak on recent FreeBSD versions:danfe2005-01-252-6/+56 * Remove the conditional removal of all locale directories.edwin2005-01-251-25/+0 * Fix pkg-plist to not removeedwin2005-01-251-2/+0 * Update to 1.0.6krion2005-01-252-3/+3 * Now that howl's pkg-config file has been fixed, we no longer need to hackmarcus2005-01-252-27/+26 * Fix a few package list errors I introduced yesterday.tom2005-01-254-4/+46 * Update to 0.9.8, and fix the build on 4.X Alpha.marcus2005-01-253-27/+27 * Forced commit to note the 1.1.2 update wasmarcus2005-01-251-1/+1 * Chase the Gaim update, and tighten CONFLICTS to make portlint a bit happier.marcus2005-01-252-2/+2 * Update to 1.1.2. See http://gaim.sourceforge.net/ChangeLog for a list ofmarcus2005-01-252-3/+3 * Update to 0.6.6krion2005-01-2414-54/+53 * Update to 2005.01.24.nork2005-01-242-3/+3 * Reindent so Makevars are read by make(1) and does not invoke it as a shell co...erwin2005-01-24