[mutter/wip/cb2eb3: 18/55] theme: Use a MetaWindow path rather than a GtkWidget path
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/cb2eb3: 18/55] theme: Use a MetaWindow path rather than a GtkWidget path
- Date: Wed, 1 Oct 2014 15:48:56 +0000 (UTC)
commit 0be3f8184136dc9fae7108fc53048523050fc2eb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Apr 26 22:54:38 2012 -0400
theme: Use a MetaWindow path rather than a GtkWidget path
This is a terrible ugly hack.
src/ui/theme.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index f53293a..9fae51b 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4625,6 +4625,8 @@ 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)
{
@@ -4639,7 +4641,7 @@ create_style_context (gchar *variant)
NULL);
path = gtk_widget_path_new ();
- gtk_widget_path_append_type (path, GTK_TYPE_WINDOW);
+ gtk_widget_path_append_type (path, meta_window_get_type ());
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]