diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-11-23 09:56:37 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-11-23 09:57:15 +0100 |
commit | 3ad6d78ff107ca2a57200151043813041eec9883 (patch) | |
tree | 54a03a107f3cefe4ccdaca442bbfb60f28bbf825 | |
parent | b75e6c2a9e514746159db28412df2db3c939de01 (diff) | |
download | totem-3ad6d78ff107ca2a57200151043813041eec9883.tar.gz |
preferences: Simplify video widget refcounting
-rw-r--r-- | src/totem-preferences-dialog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/totem-preferences-dialog.c b/src/totem-preferences-dialog.c index a3892193e..e6ea73095 100644 --- a/src/totem-preferences-dialog.c +++ b/src/totem-preferences-dialog.c @@ -227,8 +227,8 @@ totem_preferences_dialog_constructed (GObject *object) { TotemPreferencesDialog *prefs = TOTEM_PREFERENCES_DIALOG (object); g_autoptr(TotemPluginsEngine) engine = NULL; + g_autoptr(GtkWidget) bvw = NULL; TotemObject *totem; - GtkWidget *bvw; guint i, hidden; char *font, *encoding; const GList *plugin_infos, *l; @@ -355,8 +355,6 @@ totem_preferences_dialog_constructed (GObject *object) gtk_container_add (GTK_CONTAINER (prefs->tpw_plugins_list), plugin_row); } - - g_object_unref (bvw); } static void |