summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-toplevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c
index 241a9a67..098106ec 100644
--- a/mate-panel/panel-toplevel.c
+++ b/mate-panel/panel-toplevel.c
@@ -5063,7 +5063,7 @@ panel_toplevel_set_orientation (PanelToplevel *toplevel,
PanelOrientation
panel_toplevel_get_orientation (PanelToplevel *toplevel)
{
- g_return_val_if_fail (PANEL_IS_TOPLEVEL (toplevel), GTK_ORIENTATION_HORIZONTAL);
+ g_return_val_if_fail (PANEL_IS_TOPLEVEL (toplevel), PANEL_ORIENTATION_TOP);
return toplevel->priv->orientation;
}