mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
plug a tiny leak.
2006-12-16 Paolo Borelli <pborelli@katamail.com> * src/nautilus-navigation-window.c (add_sidebar_panels): plug a tiny leak.
This commit is contained in:
parent
a6841b6cf1
commit
2efc4ed0a4
|
@ -1,3 +1,8 @@
|
|||
2006-12-16 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* src/nautilus-navigation-window.c (add_sidebar_panels): plug
|
||||
a tiny leak.
|
||||
|
||||
2006-12-15 Luca Ferretti <elle.uca@libero.it>
|
||||
|
||||
* nautilus-computer.desktop.in.in:
|
||||
|
|
|
@ -1182,7 +1182,6 @@ add_sidebar_panels (NautilusNavigationWindow *window)
|
|||
GList *providers;
|
||||
GList *p;
|
||||
NautilusSidebar *sidebar_panel;
|
||||
NautilusSidebarProvider *provider;
|
||||
|
||||
g_assert (NAUTILUS_IS_NAVIGATION_WINDOW (window));
|
||||
|
||||
|
@ -1193,6 +1192,8 @@ add_sidebar_panels (NautilusNavigationWindow *window)
|
|||
providers = nautilus_module_get_extensions_for_type (NAUTILUS_TYPE_SIDEBAR_PROVIDER);
|
||||
|
||||
for (p = providers; p != NULL; p = p->next) {
|
||||
NautilusSidebarProvider *provider;
|
||||
|
||||
provider = NAUTILUS_SIDEBAR_PROVIDER (p->data);
|
||||
|
||||
sidebar_panel = nautilus_sidebar_provider_create (provider,
|
||||
|
@ -1202,7 +1203,9 @@ add_sidebar_panels (NautilusNavigationWindow *window)
|
|||
|
||||
g_object_unref (sidebar_panel);
|
||||
}
|
||||
|
||||
|
||||
nautilus_module_extension_list_free (providers);
|
||||
|
||||
current = nautilus_side_pane_get_current_panel (window->sidebar);
|
||||
set_current_side_panel
|
||||
(window,
|
||||
|
|
Loading…
Reference in a new issue