aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/ephy-gui.c29
-rw-r--r--lib/ephy-gui.h3
3 files changed, 7 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
index e523464ad..be2b8835d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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