diff options
author | Ted Gould <ted@canonical.com> | 2009-04-29 10:11:52 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-29 10:11:52 -0500 |
commit | 0ed074906ff7c3344fe866852baf64c3fbdbf13d (patch) | |
tree | 7b6296795e94ae475c36575bb91d8592595a894e | |
parent | 0f174a8a4904e33f912fae70a6345a861306b474 (diff) | |
parent | 89235a43e3b1af7f57d1fdbc87021ea49e1d5d05 (diff) | |
download | libayatana-indicator-0ed074906ff7c3344fe866852baf64c3fbdbf13d.tar.gz libayatana-indicator-0ed074906ff7c3344fe866852baf64c3fbdbf13d.tar.bz2 libayatana-indicator-0ed074906ff7c3344fe866852baf64c3fbdbf13d.zip |
Patch from Niel Patel to close the directory after opening it.
-rw-r--r-- | src/applet-main.c | 1 |
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) { |