summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 01:20:37 +0200
committerLuke from DC <[email protected]>2020-08-07 04:44:02 +0000
commit5e0104b06cf2bf4423cd324be4d6afc8c3521357 (patch)
tree07901dea1d3939c34987d68b9a0fac0cbb9e58ec
parent955714fb231d9178d44bc344b1646dafd69db17e (diff)
downloadmate-panel-5e0104b06cf2bf4423cd324be4d6afc8c3521357.tar.bz2
mate-panel-5e0104b06cf2bf4423cd324be4d6afc8c3521357.tar.xz
panel-toplevel: Fix -Wenum-conversion warning
-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;
}