From 178c7af85fac11d8ae0c4bf5c4ae2396731396e9 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 2 Jan 2002 19:11:03 +0000 Subject: remove e_gnome_dialog util functions and use e-util ones instead 2002-01-02 JP Rosevear * mail-callbacks.c: remove e_gnome_dialog util functions and use e-util ones instead 2002-01-02 JP Rosevear * e-dialog-utils.c (e_gnome_dialog_set_parent): util function moved from mail-callbacks, also destroys the dialog if the parent is destroyed (e_gnome_warning_dialog_parented): similarly (e_gnome_ok_cancel_dialog_parented): ditto * e-dialog-utils.h: new protos svn path=/trunk/; revision=15225 --- e-util/e-dialog-utils.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'e-util/e-dialog-utils.h') diff --git a/e-util/e-dialog-utils.h b/e-util/e-dialog-utils.h index a00ab75d21..1e1b8af22f 100644 --- a/e-util/e-dialog-utils.h +++ b/e-util/e-dialog-utils.h @@ -25,12 +25,22 @@ #include #include +#include +#include #include /* Window */ -void e_set_dialog_parent (GtkWindow *dialog, - GtkWidget *parent_widget); -void e_set_dialog_parent_from_xid (GtkWindow *dialog, - Window xid); +void e_set_dialog_parent (GtkWindow *dialog, + GtkWidget *parent_widget); +void e_set_dialog_parent_from_xid (GtkWindow *dialog, + Window xid); +void e_gnome_dialog_set_parent (GnomeDialog *dialog, + GtkWindow *parent); +GtkWidget *e_gnome_warning_dialog_parented (const char *warning, + GtkWindow *parent); +GtkWidget *e_gnome_ok_cancel_dialog_parented (const char *message, + GnomeReplyCallback callback, + gpointer data, + GtkWindow *parent); #endif -- cgit