diff options
author | monsta <[email protected]> | 2015-12-18 15:29:21 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-18 15:29:21 +0300 |
commit | 0c24156241e5c9f17ff3660f93e3ac99dc7dceb6 (patch) | |
tree | 73b7ff1556cefc0bb7fb0eeeb35bb488dbac366c | |
parent | c44f3d28a5fc97aa143e97f726769712b0070328 (diff) | |
download | mate-panel-0c24156241e5c9f17ff3660f93e3ac99dc7dceb6.tar.bz2 mate-panel-0c24156241e5c9f17ff3660f93e3ac99dc7dceb6.tar.xz |
toplevel: define set_arrow_type function only for GTK+ 3.14
-rw-r--r-- | mate-panel/panel-toplevel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index acdeb36e..f1de8af0 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -1175,6 +1175,7 @@ static void panel_toplevel_hide_button_clicked(PanelToplevel* toplevel, GtkButto panel_toplevel_unhide (toplevel); } +#if GTK_CHECK_VERSION(3, 14, 0) static void set_arrow_type (GtkImage *image, GtkArrowType arrow_type) @@ -1196,6 +1197,7 @@ set_arrow_type (GtkImage *image, break; } } +#endif static GtkWidget * panel_toplevel_add_hide_button (PanelToplevel *toplevel, |