summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-10-16 22:51:15 +0200
committerraveit65 <[email protected]>2020-11-24 14:53:30 +0100
commite6805e149177a343f3152bcd2cea9165904b686c (patch)
tree9597206276748da71ed021f45918110b9db191bb /capplets/appearance/appearance.h
parentb45a719071cdb7bf009f7173b04a553b546491a5 (diff)
downloadmate-control-center-e6805e149177a343f3152bcd2cea9165904b686c.tar.bz2
mate-control-center-e6805e149177a343f3152bcd2cea9165904b686c.tar.xz
appearance: Introduce GET_WINDOW macro
Diffstat (limited to 'capplets/appearance/appearance.h')
-rw-r--r--capplets/appearance/appearance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/capplets/appearance/appearance.h b/capplets/appearance/appearance.h
index 307b3033..0e301a96 100644
--- a/capplets/appearance/appearance.h
+++ b/capplets/appearance/appearance.h
@@ -137,3 +137,4 @@ typedef struct {
} AppearanceData;
#define appearance_capplet_get_widget(x, y) (GtkWidget*) gtk_builder_get_object(x->ui, y)
+#define GET_WINDOW(x) (GTK_WINDOW (gtk_builder_get_object (data->ui, (x))))