summaryrefslogtreecommitdiff
path: root/src/totem-private.h
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2021-05-05 22:16:57 -0300
committerBastien Nocera <hadess@hadess.net>2021-06-29 17:22:16 +0200
commit49b9fade173875a26bc119fedfa849f702fdbe5e (patch)
tree8641047b0b3833a723d1efca8d17290069b51c27 /src/totem-private.h
parent407c91af16167618f6ff63fc7cb50dc67a86fae7 (diff)
downloadtotem-49b9fade173875a26bc119fedfa849f702fdbe5e.tar.gz
preferences: Add TotemPreferencesDialog
Most of the code is what was there in preferences.c, but with a twist: it now has a GtkDialog subclass handling the preferences. The laborious part of this change is replacing the old GtkBuilder-based mechanism to retrieve widgets by their name with binding template children. Signal callbacks can now be static, and be passed explicitly instead of using G_MODULE_EXPORT to preserve their symbols. This commit is the smallest possible way to achieve this, and doesn't make use of various niceties and good practices of GTK development. Next commits will cleanup and improve preferences to actually use more modern GTK practices.
Diffstat (limited to 'src/totem-private.h')
-rw-r--r--src/totem-private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/totem-private.h b/src/totem-private.h
index 8e228b166..de6edb42d 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -76,7 +76,6 @@ struct _TotemObject {
GtkWidget *stack;
BaconVideoWidget *bvw;
GtkWidget *prefs;
- GtkBuilder *prefs_xml;
GtkWindow *shortcuts_win;
GtkWidget *grilo;