summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-01-11 20:45:21 +0000
committerjstebbins <[email protected]>2015-01-11 20:45:21 +0000
commit4c9a2335aaeadb89bce515b5cd5f0ad66dd7788d (patch)
treeeb51eee90706fdb600f38398c16e6235f82b78d6 /gtk/src/callbacks.h
parentfca1620cd234a97a896116b30ff9a3d3d31eb685 (diff)
LinGui: fix parent window of dialogs
libgtk has started complaining about floating dialogs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6734 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/callbacks.h')
-rw-r--r--gtk/src/callbacks.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/src/callbacks.h b/gtk/src/callbacks.h
index ce5ae3b9b..eb7c02260 100644
--- a/gtk/src/callbacks.h
+++ b/gtk/src/callbacks.h
@@ -52,10 +52,11 @@ void ghb_hbfd(signal_user_data_t *ud, gboolean hbfd);
gboolean ghb_file_menu_add_dvd(signal_user_data_t *ud);
void ghb_udev_init(void);
gboolean ghb_message_dialog(
- GtkMessageType type, const gchar *message,
+ GtkWindow *parent, GtkMessageType type, const gchar *message,
const gchar *no, const gchar *yes);
void ghb_error_dialog(
- GtkMessageType type, const gchar *message, const gchar *cancel);
+ GtkWindow *parent, GtkMessageType type,
+ const gchar *message, const gchar *cancel);
void ghb_init_dep_map(void);
void ghb_cancel_encode(signal_user_data_t *ud, const gchar *extra_msg);
gboolean ghb_cancel_encode2(signal_user_data_t *ud, const gchar *extra_msg);