diff options
author | Dan Winship <danw@src.gnome.org> | 2003-03-25 23:47:13 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-03-25 23:47:13 +0800 |
commit | 351cb225cbaf139c4d8264e26962460e9705280e (patch) | |
tree | d4947abd551edcecacd0fda7e3eeaa401b20bb84 /widgets/misc/e-gui-utils.c | |
parent | a48928043bbbcdd5aa905308896068020766f537 (diff) | |
download | gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar.gz gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar.zst gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.zip |
Remove e_notice. (Moved to evolution.)
* gal/widgets/e-gui-utils.c: Remove e_notice. (Moved to
evolution.)
svn path=/trunk/; revision=20496
Diffstat (limited to 'widgets/misc/e-gui-utils.c')
-rw-r--r-- | widgets/misc/e-gui-utils.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/widgets/misc/e-gui-utils.c b/widgets/misc/e-gui-utils.c index 6747ae2cff..59c499e4c1 100644 --- a/widgets/misc/e-gui-utils.c +++ b/widgets/misc/e-gui-utils.c @@ -30,33 +30,9 @@ #include <gtk/gtkentry.h> #include <gtk/gtksignal.h> -#include <gtk/gtkmessagedialog.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <libgnomecanvas/gnome-canvas-pixbuf.h> -/* should probably just deprecate/remove this and have callers change - to using gtk_message_dialog_new */ -/* This should probably be moved into evolution/e-util */ -void -e_notice (GtkWindow *parent, GtkMessageType type, const char *format, ...) -{ - GtkWidget *dialog; - va_list args; - char *str; - - va_start (args, format); - str = g_strdup_vprintf (format, args); - dialog = gtk_message_dialog_new (parent, GTK_DIALOG_DESTROY_WITH_PARENT, type, - GTK_BUTTONS_CLOSE, - "%s", - str); - va_end (args); - g_free (str); - - gtk_dialog_run (GTK_DIALOG (dialog)); - gtk_widget_destroy (dialog); -} - void e_auto_kill_popup_menu_on_selection_done (GtkMenu *menu) { |