summaryrefslogtreecommitdiff
path: root/endless
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-12-07 14:50:59 -0800
committerPhilip Chimento <philip@endlessm.com>2015-12-07 15:55:43 -0800
commit332984c63d50b4bad77acc4b38797601e37332f0 (patch)
tree8d7176f2d64d54a37fa510c5d881cf3b5c64a03f /endless
parent0aca7078ad341c2e673026418a6561d60fe69544 (diff)
Remove top-bar CSS class
GtkWindow already adds a "titlebar" CSS class, so rolling our own is not necessary. We can replace ".top-bar" with "EosWindow .titlebar". [endlessm/eos-sdk#3782]
Diffstat (limited to 'endless')
-rw-r--r--endless/eostopbar.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/endless/eostopbar.c b/endless/eostopbar.c
index bf04e24..b8ed647 100644
--- a/endless/eostopbar.c
+++ b/endless/eostopbar.c
@@ -16,7 +16,6 @@
* class: a left widget and a center widget, which can both contain any other
* widget.
*/
-#define _EOS_STYLE_CLASS_TOP_BAR "top-bar"
#define _EOS_TOP_BAR_HEIGHT_PX 36
#define _EOS_TOP_BAR_ICON_SIZE_PX 16
#define _EOS_TOP_BAR_BUTTON_SEPARATION_PX 8
@@ -59,9 +58,6 @@ eos_top_bar_constructed (GObject *object)
EosTopBar *self = EOS_TOP_BAR (object);
EosTopBarPrivate *priv = eos_top_bar_get_instance_private (self);
- GtkStyleContext *context = gtk_widget_get_style_context (GTK_WIDGET (self));
- gtk_style_context_add_class (context, _EOS_STYLE_CLASS_TOP_BAR);
-
g_object_set (self,
"custom-title", priv->center_top_bar_attach,
"halign", GTK_ALIGN_FILL,