summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-05-08 21:01:21 +0000
committerjabiertxof <info@marker.es>2016-05-08 21:01:21 +0000
commit64bbbbb338a1d9a70d8ba29d6bfd1a8cec047867 (patch)
tree607877ae8c3ec12f07be69614766c4398db13809 /src
parentFirst attempt to make fixed tweenk review (diff)
parentAttempt to fix ruler background for GTK 3.20. (diff)
downloadinkscape-64bbbbb338a1d9a70d8ba29d6bfd1a8cec047867.tar.gz
inkscape-64bbbbb338a1d9a70d8ba29d6bfd1a8cec047867.zip
update to trunk
(bzr r13645.1.129)
Diffstat (limited to 'src')
-rw-r--r--src/widgets/ruler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/ruler.cpp b/src/widgets/ruler.cpp
index bcab535f9..deffd384a 100644
--- a/src/widgets/ruler.cpp
+++ b/src/widgets/ruler.cpp
@@ -168,6 +168,10 @@ sp_ruler_class_init (SPRulerClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
+#if GTK_CHECK_VERSION(3,20,0)
+ gtk_widget_class_set_css_name (widget_class, "ruler-widget");
+#endif
+
object_class->dispose = sp_ruler_dispose;
object_class->set_property = sp_ruler_set_property;
object_class->get_property = sp_ruler_get_property;