From c24f3d4078dd6377fc45f9b25d4f44cec9b05e48 Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Sun, 25 Jan 2015 12:59:28 +0000 Subject: [PATCH] Add support of libxfce4ui >= 4.11 in screenshooter_open_help () function. --- lib/screenshooter-utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/screenshooter-utils.c b/lib/screenshooter-utils.c index e412182..08926c4 100644 --- a/lib/screenshooter-utils.c +++ b/lib/screenshooter-utils.c @@ -303,7 +303,11 @@ gchar *screenshooter_get_datetime (const gchar *format) void screenshooter_open_help (GtkWindow *parent) { +#if LIBXFCE4UI_CHECK_VERSION (4, 11, 0) + xfce_dialog_show_help_with_version (parent, "screenshooter", "start", NULL, NULL); +#else xfce_dialog_show_help (parent, "screenshooter", "start", ""); +#endif } -- 2.2.2