summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-05-21 16:26:39 +0200
committerraveit65 <[email protected]>2015-05-21 16:26:39 +0200
commitfce585a4d0ce4ffb2ea15a28322b749703fdd04e (patch)
tree8901b815c1c6c2c955579eea14609fe892ab3040
parentd6b4055b55f31cde39b23d7d2191c3bab14a02e2 (diff)
downloadmate-panel-fce585a4d0ce4ffb2ea15a28322b749703fdd04e.tar.bz2
mate-panel-fce585a4d0ce4ffb2ea15a28322b749703fdd04e.tar.xz
GTK3: fix typo in gtk_style_context mate-custom-panel-background
-rw-r--r--libmate-panel-applet/mate-panel-applet.c6
-rw-r--r--mate-panel/panel-background.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 3dbe6c52..94debf09 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -2051,18 +2051,18 @@ void _mate_panel_applet_apply_css(GtkWidget* widget, MatePanelAppletBackgroundTy
switch (type) {
case PANEL_NO_BACKGROUND:
- gtk_style_context_remove_class(context,"-mate-custom-panel-background");
+ gtk_style_context_remove_class(context,"mate-custom-panel-background");
break;
case PANEL_COLOR_BACKGROUND:
case PANEL_PIXMAP_BACKGROUND:
provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (provider,
- ".-mate-custom-panel-background{\n"
+ ".mate-custom-panel-background{\n"
" background-color: rgba (0, 0, 0, 0);\n"
" background-image: none;\n"
"}",
-1, NULL);
- gtk_style_context_add_class (context, "-mate-custom-panel-background");
+ gtk_style_context_add_class (context, "mate-custom-panel-background");
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index d7b61f64..9beb000f 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -106,12 +106,12 @@ void panel_background_apply_css (GtkWidget* widget)
gtk_widget_reset_style(widget);
provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (provider,
- ".-mate-custom-panel-background{\n"
+ ".mate-custom-panel-background{\n"
" background-color: rgba (0, 0, 0, 0);\n"
" background-image: none;\n"
"}",
-1, NULL);
- gtk_style_context_add_class (context, "-mate-custom-panel-background");
+ gtk_style_context_add_class (context, "mate-custom-panel-background");
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);