From 412ce3e228ee84c8744b36161214325c9a98887f Mon Sep 17 00:00:00 2001 From: JosephMcc Date: Sun, 1 Jan 2017 15:45:02 -0800 Subject: [PATCH] xed-panel.c: Add a couple of missing casts --- xed/xed-panel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xed/xed-panel.c b/xed/xed-panel.c index 2877c38..81cab98 100644 --- a/xed/xed-panel.c +++ b/xed/xed-panel.c @@ -364,15 +364,15 @@ xed_panel_constructor (GType type, build_notebook_for_panel (panel); gtk_box_pack_start (GTK_BOX (panel->priv->main_box), panel->priv->notebook, TRUE, TRUE, 0); - gtk_style_context_add_class (gtk_widget_get_style_context (panel), "xed-panel"); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (panel)), "xed-panel"); if (panel->priv->orientation == GTK_ORIENTATION_VERTICAL) { - gtk_style_context_add_class (gtk_widget_get_style_context (panel), "side"); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (panel)), "side"); } else { - gtk_style_context_add_class (gtk_widget_get_style_context (panel), "bottom"); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (panel)), "bottom"); } return obj;