[gthumb] correctly set the SIDEBAR class to the toolbox



commit d1655d949f11836414b3c40ffdc05be6e202f5ac
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Mar 23 15:58:29 2014 +0100

    correctly set the SIDEBAR class to the toolbox

 gthumb/gth-sidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-sidebar.c b/gthumb/gth-sidebar.c
index 386b662..0bb5048 100644
--- a/gthumb/gth-sidebar.c
+++ b/gthumb/gth-sidebar.c
@@ -152,7 +152,7 @@ _gth_sidebar_construct (GthSidebar *sidebar,
                                  sidebar);
 
        sidebar->priv->toolbox = gth_toolbox_new (name);
-       gtk_style_context_add_class (gtk_widget_get_style_context (sidebar->priv->properties), 
GTK_STYLE_CLASS_SIDEBAR);
+       gtk_style_context_add_class (gtk_widget_get_style_context (sidebar->priv->toolbox), 
GTK_STYLE_CLASS_SIDEBAR);
        gtk_widget_show (sidebar->priv->toolbox);
        gtk_stack_add_named (GTK_STACK (sidebar), sidebar->priv->toolbox, GTH_SIDEBAR_PAGE_TOOLS);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]