From 3ab3c8423e65d3004a4db421b128de79a83d4c07 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 5 May 2012 02:11:34 -0300 Subject: [PATCH] theme: Start using MetaUIFrame for the context path Very soon we'll be scrapping this and doing something different internally --- src/ui/theme.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ui/theme.c b/src/ui/theme.c index 532c75fa3..58d28de64 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -36,6 +36,7 @@ */ #include +#include "uiframe.h" #include "theme-private.h" #include #include @@ -4618,8 +4619,6 @@ meta_theme_variant_free (gpointer data) g_slice_free (MetaThemeVariant, tv); } -extern GType meta_window_get_type (void); - static GtkStyleContext * create_style_context (gchar *variant) { @@ -4634,7 +4633,7 @@ create_style_context (gchar *variant) NULL); path = gtk_widget_path_new (); - gtk_widget_path_append_type (path, meta_window_get_type ()); + gtk_widget_path_append_type (path, META_TYPE_UIFRAME); style = gtk_style_context_new (); gtk_style_context_set_path (style, path);