diff options
author | Xan Lopez <xan@gnome.org> | 2010-06-13 03:39:42 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-06-13 04:01:46 +0800 |
commit | 79e70c1d4046f227670233736f26ef7da15292b9 (patch) | |
tree | 36ede7d58ab488dc833e86888cda7cde29efc6d9 | |
parent | a7559f3ca609fb87643adf7dfb1cde68d6d4484a (diff) | |
download | gsoc2013-epiphany-79e70c1d4046f227670233736f26ef7da15292b9.tar.gz gsoc2013-epiphany-79e70c1d4046f227670233736f26ef7da15292b9.tar.zst gsoc2013-epiphany-79e70c1d4046f227670233736f26ef7da15292b9.zip |
ephy-gui: remove unused method
-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); |