/pidgin/main: 68de575c5e0c: Remove GtkImHtml dependency from gev...

Tomasz Wasilczyk twasilczyk at pidgin.im
Sat Feb 1 09:59:40 EST 2014


Changeset: 68de575c5e0c049b5e8226d3c3de4fb30b037f97
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-02-01 15:59 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/68de575c5e0c

Description:

Remove GtkImHtml dependency from gevolution plugin

diffstat:

 pidgin/plugins/gevolution/assoc-buddy.c |  17 -----------------
 pidgin/plugins/gevolution/eds-utils.c   |   1 -
 pidgin/plugins/gevolution/gevolution.h  |   1 -
 3 files changed, 0 insertions(+), 19 deletions(-)

diffs (63 lines):

diff --git a/pidgin/plugins/gevolution/assoc-buddy.c b/pidgin/plugins/gevolution/assoc-buddy.c
--- a/pidgin/plugins/gevolution/assoc-buddy.c
+++ b/pidgin/plugins/gevolution/assoc-buddy.c
@@ -22,7 +22,6 @@
 #include "gtkblist.h"
 #include "pidgin.h"
 #include "gtkutils.h"
-#include "gtkimhtml.h"
 
 #include "debug.h"
 
@@ -325,7 +324,6 @@ gevo_associate_buddy_dialog_new(PurpleBu
 	GtkWidget *hbox;
 	GtkWidget *bbox;
 	GtkWidget *sep;
-	GtkWidget *expander;
 	GtkTreeSelection *selection;
 	GtkCellRenderer *cell;
 
@@ -425,21 +423,6 @@ gevo_associate_buddy_dialog_new(PurpleBu
 					 G_CALLBACK(addrbook_change_cb), dialog);
 	gtk_combo_box_set_active(GTK_COMBO_BOX(dialog->addrbooks_combo), 0);
 
-	/* Add the expander */
-	expander = gtk_expander_new_with_mnemonic(_("User _details"));
-	gtk_box_pack_start(GTK_BOX(vbox), expander, FALSE, FALSE, 0);
-	gtk_widget_show(expander);
-
-	/*
-	 * User details
-	 */
-
-	/* Textview */
-	dialog->imhtml = gtk_imhtml_new(NULL, NULL);
-	gtk_container_add(GTK_CONTAINER(expander), 
-		pidgin_make_scrollable(dialog->imhtml, GTK_POLICY_NEVER, GTK_POLICY_ALWAYS, GTK_SHADOW_IN, -1, -1));
-	gtk_widget_show(dialog->imhtml);
-
 	/* Separator. */
 	sep = gtk_hseparator_new();
 	gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0);
diff --git a/pidgin/plugins/gevolution/eds-utils.c b/pidgin/plugins/gevolution/eds-utils.c
--- a/pidgin/plugins/gevolution/eds-utils.c
+++ b/pidgin/plugins/gevolution/eds-utils.c
@@ -23,7 +23,6 @@
 #include "gtkblist.h"
 #include "pidgin.h"
 #include "gtkutils.h"
-#include "gtkimhtml.h"
 
 #include "debug.h"
 #include "gevolution.h"
diff --git a/pidgin/plugins/gevolution/gevolution.h b/pidgin/plugins/gevolution/gevolution.h
--- a/pidgin/plugins/gevolution/gevolution.h
+++ b/pidgin/plugins/gevolution/gevolution.h
@@ -97,7 +97,6 @@ typedef struct
 	GtkWidget *addrbooks_combo;
 	GtkWidget *search_field;
 	GtkWidget *assoc_button;
-	GtkWidget *imhtml;
 	GtkListStore *model;
 
 	GtkTreeModel *addrbooks;



More information about the Commits mailing list