diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-gui.c | 23 | ||||
-rw-r--r-- | lib/ephy-gui.h | 2 |
2 files changed, 0 insertions, 25 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index d5de8c76d..aa3a18b40 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -482,26 +482,3 @@ ephy_gui_window_update_user_time (GtkWidget *window, } -/* Pending gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=328069 */ -GtkWidget * -ephy_gui_message_dialog_get_content_box (GtkWidget *dialog) -{ - GtkWidget *container; - GList *children; - - /* Get the hbox which is the first child of the main vbox */ - children = gtk_container_get_children (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))); - g_return_val_if_fail (children != NULL, NULL); - - container = GTK_WIDGET (children->data); - g_list_free (children); - - /* Get the vbox which is the second child of the hbox */ - children = gtk_container_get_children (GTK_CONTAINER (container)); - g_return_val_if_fail (children != NULL && children->next != NULL, NULL); - - container = GTK_WIDGET (children->next->data); - g_list_free (children); - - return container; -} diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h index d5e02d68f..e7aa39e06 100644 --- a/lib/ephy-gui.h +++ b/lib/ephy-gui.h @@ -70,8 +70,6 @@ void ephy_gui_help (GtkWidget *parent, void ephy_gui_window_update_user_time (GtkWidget *window, guint32 user_time); -GtkWidget *ephy_gui_message_dialog_get_content_box (GtkWidget *dialog); - void ephy_gui_connect_checkbutton_to_gconf (GtkWidget *widget, const char *pref); |