aboutsummaryrefslogtreecommitdiff
path: root/src/applet-main.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-29 10:11:52 -0500
committerTed Gould <ted@canonical.com>2009-04-29 10:11:52 -0500
commit0ed074906ff7c3344fe866852baf64c3fbdbf13d (patch)
tree7b6296795e94ae475c36575bb91d8592595a894e /src/applet-main.c
parent0f174a8a4904e33f912fae70a6345a861306b474 (diff)
parent89235a43e3b1af7f57d1fdbc87021ea49e1d5d05 (diff)
downloadlibayatana-indicator-0ed074906ff7c3344fe866852baf64c3fbdbf13d.tar.gz
libayatana-indicator-0ed074906ff7c3344fe866852baf64c3fbdbf13d.tar.bz2
libayatana-indicator-0ed074906ff7c3344fe866852baf64c3fbdbf13d.zip
Patch from Niel Patel to close the directory after opening it.
Diffstat (limited to 'src/applet-main.c')
-rw-r--r--src/applet-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index 7c39d6d..fca71a7 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -290,6 +290,7 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
if (load_module(name, menubar))
indicators_loaded++;
}
+ g_dir_close (dir);
}
if (indicators_loaded == 0) {