From d59ce70285a0c5d7dd634ba5cc746b331edac4ce Mon Sep 17 00:00:00 2001 From: Javier Jardón Date: Wed, 22 Apr 2015 19:59:56 +0100 Subject: Do not make zenity_util_show_dialog() X11 specific --- src/util.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 9693b0b2..ddb0146f 100644 --- a/src/util.c +++ b/src/util.c @@ -39,6 +39,10 @@ #include "util.h" #include "zenity.h" +#ifdef GDK_WINDOWING_X11 +#include +#endif + #define ZENITY_OK_DEFAULT 0 #define ZENITY_CANCEL_DEFAULT 1 #define ZENITY_ESC_DEFAULT 1 @@ -402,7 +406,7 @@ zenity_util_make_transient (GdkWindow *window, Window parent) #endif /* GDK_WINDOWING_X11 */ void -zenity_util_show_dialog (GtkWidget *dialog, Window parent) +zenity_util_show_dialog (GtkWidget *dialog, guintptr parent) { gtk_widget_realize (dialog); #ifdef GDK_WINDOWING_X11 -- cgit