diff options
author | Dan Winship <danw@src.gnome.org> | 2003-03-25 01:13:28 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-03-25 01:13:28 +0800 |
commit | 71defb68b93aae249ddfb257d43920e785677cd3 (patch) | |
tree | e8082cea59249a5c2f9114cb5548443c760b82dd /e-util/e-dialog-utils.h | |
parent | 6ebc3ad9d9f4c369ef0a7095acf5a170f19f0169 (diff) | |
download | gsoc2013-evolution-71defb68b93aae249ddfb257d43920e785677cd3.tar.gz gsoc2013-evolution-71defb68b93aae249ddfb257d43920e785677cd3.tar.zst gsoc2013-evolution-71defb68b93aae249ddfb257d43920e785677cd3.zip |
Rename, rewrite, make them actually work.
* e-dialog-utils.c (e_dialog_set_transient_for,
e_dialog_set_transient_for_xid): Rename, rewrite, make them
actually work.
svn path=/trunk/; revision=20482
Diffstat (limited to 'e-util/e-dialog-utils.h')
-rw-r--r-- | e-util/e-dialog-utils.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/e-util/e-dialog-utils.h b/e-util/e-dialog-utils.h index fbb32d8804..dfacfd4149 100644 --- a/e-util/e-dialog-utils.h +++ b/e-util/e-dialog-utils.h @@ -28,27 +28,19 @@ #include <libgnomeui/gnome-types.h> #include <libgnomeui/gnome-dialog.h> -#include <X11/Xlib.h> /* Window */ - -void e_set_dialog_parent (GtkWindow *dialog, - GtkWidget *parent_widget); -void e_set_dialog_parent_from_xid (GtkWindow *dialog, - Window xid); +void e_dialog_set_transient_for (GtkWindow *dialog, + GtkWidget *parent_widget); +void e_dialog_set_transient_for_xid (GtkWindow *dialog, + GdkNativeWindow xid); /* FIXME These functions should go away completely at some point. */ #ifndef GNOME_DISABLE_DEPRECATED -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); +void e_gnome_dialog_set_parent (GnomeDialog *dialog, + GtkWindow *parent); #endif -char *e_file_dialog_save (const char *title); +char *e_file_dialog_save (const char *title); #endif |