pathbar: add back GTK_STYLE_CLASS_LINKED

This was accidentally removed in commit
42f53ab58e

https://bugzilla.gnome.org/show_bug.cgi?id=706028
This commit is contained in:
Cosimo Cecchi 2013-08-16 18:53:39 +02:00
parent 64d0ecaec8
commit 844dade070

View File

@ -180,6 +180,8 @@ on_slider_unmap (GtkWidget *widget,
static void
gtk_path_bar_init (GtkPathBar *path_bar)
{
GtkStyleContext *context;
path_bar->priv = gtk_path_bar_get_instance_private (path_bar);
gtk_widget_init_template (GTK_WIDGET (path_bar));
@ -201,6 +203,9 @@ gtk_path_bar_init (GtkPathBar *path_bar)
gtk_widget_set_has_window (GTK_WIDGET (path_bar), FALSE);
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (path_bar), FALSE);
context = gtk_widget_get_style_context (GTK_WIDGET (path_bar));
gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
path_bar->priv->get_info_cancellable = NULL;
path_bar->priv->spacing = 0;