mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
theme: Use a MetaWindow path rather than a GtkWidget path
This is a terrible ugly hack.
This commit is contained in:
parent
f53e26bc39
commit
0be3f81841
@ -4625,6 +4625,8 @@ meta_theme_variant_free (gpointer data)
|
|||||||
g_slice_free (MetaThemeVariant, tv);
|
g_slice_free (MetaThemeVariant, tv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern GType meta_window_get_type (void);
|
||||||
|
|
||||||
static GtkStyleContext *
|
static GtkStyleContext *
|
||||||
create_style_context (gchar *variant)
|
create_style_context (gchar *variant)
|
||||||
{
|
{
|
||||||
@ -4639,7 +4641,7 @@ create_style_context (gchar *variant)
|
|||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
path = gtk_widget_path_new ();
|
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 ();
|
style = gtk_style_context_new ();
|
||||||
gtk_style_context_set_path (style, path);
|
gtk_style_context_set_path (style, path);
|
||||||
|
Loading…
Reference in New Issue
Block a user