diff options
author | Xan Lopez <xan@gnome.org> | 2010-06-13 03:39:42 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-08-31 04:32:58 +0800 |
commit | 1ba79d3c05d8b76c5db7af1dc867a41796cf035e (patch) | |
tree | eed3d02964080e7e51ab8df39e3f732cace04982 | |
parent | 063704268eb1cae7a40b3bc58e44c72333b46028 (diff) | |
download | gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.tar gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.tar.gz gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.tar.bz2 gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.tar.lz gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.tar.xz gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.tar.zst gsoc2013-epiphany-1ba79d3c05d8b76c5db7af1dc867a41796cf035e.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); |