diff options
-rw-r--r-- | lib/ephy-gui.c | 25 | ||||
-rw-r--r-- | lib/ephy-gui.h | 3 |
2 files changed, 0 insertions, 28 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index 0e495df82..f92e0befe 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -507,31 +507,6 @@ ephy_gui_message_dialog_get_content_box (GtkWidget *dialog) return container; } -/* Until bug #345349 is fixed */ -void -ephy_gui_message_dialog_set_wrap_mode (GtkMessageDialog *dialog, - PangoWrapMode wrap_mode) -{ - GtkContainer *container; - GList *children, *l; - - container = GTK_CONTAINER (dialog->label->parent); - g_return_if_fail (GTK_IS_CONTAINER (container)); - - children = gtk_container_get_children (container); - for (l = children; l != NULL; l = l->next) - { - GtkWidget *child = l->data; - - if (GTK_IS_LABEL (child)) - { - g_print ("Setting wrap mode on label %p\n", child); - gtk_label_set_line_wrap_mode (GTK_LABEL (child), - wrap_mode); - } - } -} - static void checkbutton_toggled_cb (GtkToggleButton *button, const char *pref) diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h index b32fd7f20..d5e02d68f 100644 --- a/lib/ephy-gui.h +++ b/lib/ephy-gui.h @@ -72,9 +72,6 @@ void ephy_gui_window_update_user_time (GtkWidget *window, GtkWidget *ephy_gui_message_dialog_get_content_box (GtkWidget *dialog); -void ephy_gui_message_dialog_set_wrap_mode (GtkMessageDialog *dialog, - PangoWrapMode wrap_mode); - void ephy_gui_connect_checkbutton_to_gconf (GtkWidget *widget, const char *pref); |