aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-gui.c29
-rw-r--r--lib/ephy-gui.h3
2 files changed, 0 insertions, 32 deletions
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