gedit-plugins r385 - in trunk: . plugins/charmap



Author: pborelli
Date: Sat Oct 25 08:28:04 2008
New Revision: 385
URL: http://svn.gnome.org/viewvc/gedit-plugins?rev=385&view=rev

Log:
2008-10-25  Paolo Borelli  <pborelli katamail com>

	* plugins/charmap/gedit-charmap-plugin.c: use the correct API for
	the new charmap lib. Bug #557598, patch by Christophe Sauthier.



Modified:
   trunk/ChangeLog
   trunk/plugins/charmap/gedit-charmap-plugin.c

Modified: trunk/plugins/charmap/gedit-charmap-plugin.c
==============================================================================
--- trunk/plugins/charmap/gedit-charmap-plugin.c	(original)
+++ trunk/plugins/charmap/gedit-charmap-plugin.c	Sat Oct 25 08:28:04 2008
@@ -237,7 +237,8 @@
 
 #ifdef HAVE_GUCHARMAP_2
 	chartable = gedit_charmap_panel_get_chartable (GEDIT_CHARMAP_PANEL (panel));
-	gucharmap_chartable_set_font (chartable, font);
+	gucharmap_chartable_set_font_desc (chartable, 
+					   pango_font_description_from_string (font));
 #else
 	table = gedit_charmap_panel_get_table (GEDIT_CHARMAP_PANEL (panel));
 	gucharmap_table_set_font (table, font);



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