[epiphany/gnome-2-30] ephy-gui: remove unused method



commit 1ba79d3c05d8b76c5db7af1dc867a41796cf035e
Author: Xan Lopez <xan gnome org>
Date:   Sat Jun 12 22:39:42 2010 +0300

    ephy-gui: remove unused method

 lib/ephy-gui.c |   25 -------------------------
 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 0e495df..f92e0be 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 b32fd7f..d5e02d6 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]