summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 41c7c556..267332cd 100644
--- a/src/util.c
+++ b/src/util.c
@@ -350,6 +350,7 @@ transient_get_xterm_toplevel (void)
static void
zenity_util_make_transient (GdkWindow *window)
{
+#if 0
Window xterm = transient_get_xterm_toplevel ();
if (xterm != None) {
GdkWindow *gdkxterm = gdk_window_foreign_new (xterm);
@@ -358,6 +359,7 @@ zenity_util_make_transient (GdkWindow *window)
g_object_unref (G_OBJECT (gdkxterm));
}
}
+#endif
}
#endif /* GDK_WINDOWING_X11 */
@@ -373,3 +375,10 @@ zenity_util_show_dialog (GtkWidget *dialog)
gtk_widget_show (dialog);
}
+gboolean
+zenity_util_timeout_handle (void)
+{
+ gtk_main_quit();
+ exit(ZENITY_TIMEOUT);
+ return FALSE;
+}
bgstack15