diff options
author | Cosimo Cecchi <cosimo@endlessm.com> | 2013-11-14 18:30:47 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimo@endlessm.com> | 2013-11-14 18:30:47 -0800 |
commit | f4f82e736c9608b7147f0b51141fd2d5bc2e0fce (patch) | |
tree | 01c88437ef21db172df79bace18ae1df3b7bdfd3 /gtk/gtkplacessidebar.c | |
parent | 719dd636a9da679ea08a9644a8cccfe7d6f145d7 (diff) | |
download | gtk+-f4f82e736c9608b7147f0b51141fd2d5bc2e0fce.tar.gz |
GtkPlacesSidebar: don't unref an object we don't own
gtk_settings_get_default() doesn't return a reference, so don't unref it
during dispose.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r-- | gtk/gtkplacessidebar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index c744c16513..6d3a886936 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -4047,7 +4047,7 @@ gtk_places_sidebar_dispose (GObject *object) if (sidebar->gtk_settings) { g_signal_handlers_disconnect_by_func (sidebar->gtk_settings, shell_shows_desktop_changed, sidebar); - g_clear_object (&sidebar->gtk_settings); + sidebar->gtk_settings = NULL; } G_OBJECT_CLASS (gtk_places_sidebar_parent_class)->dispose (object); |