diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/ephy-gui.c | 29 | ||||
-rw-r--r-- | lib/ephy-gui.h | 3 |
3 files changed, 7 insertions, 32 deletions
@@ -1,4 +1,11 @@ 2006-02-14 Christian Persch <chpe@cvs.gnome.org> + + * lib/ephy-gui.c: + * lib/ephy-gui.h: + + Remove ephy_gui_window_present. + +2006-02-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), 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 |