xed-panel.c: Add a couple of missing casts

This commit is contained in:
JosephMcc 2017-01-01 15:45:02 -08:00
parent ded60fbe20
commit 412ce3e228
1 changed files with 3 additions and 3 deletions

View File

@ -364,15 +364,15 @@ xed_panel_constructor (GType type,
build_notebook_for_panel (panel); build_notebook_for_panel (panel);
gtk_box_pack_start (GTK_BOX (panel->priv->main_box), panel->priv->notebook, TRUE, TRUE, 0); 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) 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 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; return obj;