From 8701bc08a5263c0e357b7bdddc0f9f8facc9cce8 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 13 Feb 2006 23:02:10 +0000 Subject: Remove ephy_gui_window_present. 2006-02-14 Christian Persch * lib/ephy-gui.c: * lib/ephy-gui.h: Remove ephy_gui_window_present. --- ChangeLog | 7 +++++++ lib/ephy-gui.c | 29 ----------------------------- lib/ephy-gui.h | 3 --- 3 files changed, 7 insertions(+), 32 deletions(-) diff --git a/ChangeLog b/ChangeLog index e523464ad..be2b8835d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-02-14 Christian Persch + + * lib/ephy-gui.c: + * lib/ephy-gui.h: + + Remove ephy_gui_window_present. + 2006-02-14 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_helpers_init), diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index d5104ad10..9729be44d 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -498,35 +498,6 @@ ephy_gui_window_update_user_time (GtkWidget *window, } -/* gtk+ bug 166379 */ -/* adapted from gtk+/gtk/gtkwindow.c */ -void -ephy_gui_window_present (GtkWindow *window, - guint32 user_time) -{ - GtkWidget *widget; - - g_return_if_fail (GTK_IS_WINDOW (window)); - - widget = GTK_WIDGET (window); - - if (GTK_WIDGET_VISIBLE (window)) - { - g_assert (widget->window != NULL); - - gdk_window_show (widget->window); - - /* note that gdk_window_focus() will also move the window to - * the current desktop, for WM spec compliant window managers. - */ - gdk_window_focus (widget->window, user_time); - } - else - { - gtk_widget_show (widget); - } -} - /* Pending gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=328069 */ GtkWidget * ephy_gui_message_dialog_get_content_box (GtkWidget *dialog) diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h index a471f29b2..089587b49 100644 --- a/lib/ephy-gui.h +++ b/lib/ephy-gui.h @@ -77,9 +77,6 @@ void ephy_gui_help (GtkWindow *parent, void ephy_gui_window_update_user_time (GtkWidget *window, guint32 user_time); -void ephy_gui_window_present (GtkWindow *window, - guint32 user_time); - GtkWidget *ephy_gui_message_dialog_get_content_box (GtkWidget *dialog); G_END_DECLS -- cgit v1.2.3