diff pidgin/gtkimhtmltoolbar.c @ 29018:1929b7a0c2c8

merged with im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 25 Nov 2009 13:40:01 +0900
parents cd3beebb1d13 998c37689f7c
children f44718de8b06
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Fri Nov 20 16:36:33 2009 +0900
+++ b/pidgin/gtkimhtmltoolbar.c	Wed Nov 25 13:40:01 2009 +0900
@@ -1501,7 +1501,6 @@
 void gtk_imhtmltoolbar_attach(GtkIMHtmlToolbar *toolbar, GtkWidget *imhtml)
 {
 	GtkIMHtmlButtons buttons;
-	gboolean bold, italic, underline;
 
 	g_return_if_fail(toolbar != NULL);
 	g_return_if_fail(GTK_IS_IMHTMLTOOLBAR(toolbar));
@@ -1517,9 +1516,6 @@
 
 	buttons = gtk_imhtml_get_format_functions(GTK_IMHTML(imhtml));
 	update_buttons_cb(GTK_IMHTML(imhtml), buttons, toolbar);
-
-	gtk_imhtml_get_current_format(GTK_IMHTML(imhtml), &bold, &italic, &underline);
-
 	update_buttons(toolbar);
 }