diff options
author | Arx Cruz <arxcruz@src.gnome.org> | 2011-06-17 10:47:07 -0300 |
---|---|---|
committer | Arx Cruz <arxcruz@src.gnome.org> | 2011-06-17 10:51:00 -0300 |
commit | d60e5eeeb379e5444ad218d7335b17eaa821b182 (patch) | |
tree | 8a593fdb55754ad668dbac29ef342e384303e1fd /src/util.h | |
parent | Fix the msg forms (question, warning, error) to return 5 when timeout (diff) | |
download | zenity-d60e5eeeb379e5444ad218d7335b17eaa821b182.tar.gz zenity-d60e5eeeb379e5444ad218d7335b17eaa821b182.tar.bz2 zenity-d60e5eeeb379e5444ad218d7335b17eaa821b182.zip |
Now if you use --timeout option, the return code will be properly handled
The default behavior will be done (ie. user click on ok button)
The return code will be 5
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,8 @@ GdkPixbuf * zenity_util_pixbuf_new_from_file (GtkWidget *widget, const gchar *filename); void zenity_util_show_help (GError **error); gint zenity_util_return_exit_code (ZenityExitCode value); +void zenity_util_exit_code_with_data (ZenityExitCode value, + ZenityData *data); void zenity_util_show_dialog (GtkWidget *widget); gboolean zenity_util_timeout_handle (gpointer data); |