[mutter/wip/cb2eb3: 50/55] theme: Start using MetaUIFrame for the context path
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/cb2eb3: 50/55] theme: Start using MetaUIFrame for the context path
- Date: Wed, 1 Oct 2014 15:51:37 +0000 (UTC)
commit 3ab3c8423e65d3004a4db421b128de79a83d4c07
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat May 5 02:11:34 2012 -0300
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 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 532c75f..58d28de 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -36,6 +36,7 @@
*/
#include <config.h>
+#include "uiframe.h"
#include "theme-private.h"
#include <meta/util.h>
#include <meta/prefs.h>
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]