summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-main.c
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-main.c
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-main.c')
-rw-r--r--capplets/appearance/appearance-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c
index 4574aaed..7815e885 100644
--- a/capplets/appearance/appearance-main.c
+++ b/capplets/appearance/appearance-main.c
@@ -193,7 +193,7 @@ main (int argc, char **argv)
/* prepare the main window */
w = appearance_capplet_get_widget (data, "appearance_window");
- context = gtk_widget_get_style_context (GTK_WIDGET (w));
+ context = gtk_widget_get_style_context (w);
gtk_style_context_add_class (context, "appearance-window");
capplet_set_icon (w, "preferences-desktop-theme");