aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-14 07:02:10 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-14 07:02:10 +0800
commit8701bc08a5263c0e357b7bdddc0f9f8facc9cce8 (patch)
tree90e20f4f9a45b966d0f9c9ac73477968422c2731 /lib
parent44d332d8c7b555b37292ba70ca9be327c1aacfe8 (diff)
downloadgsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.tar
gsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.tar.gz
gsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.tar.bz2
gsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.tar.lz
gsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.tar.xz
gsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.tar.zst
gsoc2013-epiphany-8701bc08a5263c0e357b7bdddc0f9f8facc9cce8.zip
Remove ephy_gui_window_present.
2006-02-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: * lib/ephy-gui.h: Remove ephy_gui_window_present.
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