diff options
author | Ted Gould <ted@canonical.com> | 2009-04-29 10:11:21 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-29 10:11:21 -0500 |
commit | 89235a43e3b1af7f57d1fdbc87021ea49e1d5d05 (patch) | |
tree | 990ad34da819e36d1e09e75937d17b2c08452fdb /src | |
parent | 70223e1d54fab55b322a216073f5f2a74e02ffc8 (diff) | |
download | libayatana-indicator-89235a43e3b1af7f57d1fdbc87021ea49e1d5d05.tar.gz libayatana-indicator-89235a43e3b1af7f57d1fdbc87021ea49e1d5d05.tar.bz2 libayatana-indicator-89235a43e3b1af7f57d1fdbc87021ea49e1d5d05.zip |
Patch from Niel Patel to close the directory after opening it.
Diffstat (limited to 'src')
-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 310cfe9..535a6ae 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -251,6 +251,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) { |