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 | |
parent | a48928043bbbcdd5aa905308896068020766f537 (diff) | |
download | gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar.gz gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar.bz2 gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar.lz gsoc2013-evolution-351cb225cbaf139c4d8264e26962460e9705280e.tar.xz 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
-rw-r--r-- | widgets/misc/e-gui-utils.c | 24 | ||||
-rw-r--r-- | widgets/misc/e-gui-utils.h | 6 |
2 files changed, 0 insertions, 30 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) { diff --git a/widgets/misc/e-gui-utils.h b/widgets/misc/e-gui-utils.h index 149fecdee6..c52e233714 100644 --- a/widgets/misc/e-gui-utils.h +++ b/widgets/misc/e-gui-utils.h @@ -27,7 +27,6 @@ #include <gtk/gtkmenu.h> #include <gtk/gtkwindow.h> -#include <gtk/gtkmessagedialog.h> #include <glade/glade-xml.h> G_BEGIN_DECLS @@ -36,11 +35,6 @@ void e_popup_menu (GtkMenu *menu, GdkEvent *event); void e_auto_kill_popup_menu_on_selection_done (GtkMenu *menu); -void e_notice (GtkWindow *window, - GtkMessageType type, - const char *format, - ...); - void e_container_foreach_leaf (GtkContainer *container, GtkCallback callback, gpointer closure); |