gucharmap r1751 - trunk/gucharmap
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gucharmap r1751 - trunk/gucharmap
- Date: Mon, 31 Mar 2008 12:42:45 +0100 (BST)
Author: chpe
Date: Mon Mar 31 12:42:45 2008
New Revision: 1751
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1751&view=rev
Log:
Notify the font-desc property when it has changed.
Modified:
trunk/gucharmap/gucharmap-chartable.c
Modified: trunk/gucharmap/gucharmap-chartable.c
==============================================================================
--- trunk/gucharmap/gucharmap-chartable.c (original)
+++ trunk/gucharmap/gucharmap-chartable.c Mon Mar 31 12:42:45 2008
@@ -129,7 +129,7 @@
priv->font_desc = font_desc;
if (priv->pango_layout)
- pango_layout_set_font_description (priv->pango_layout, font_desc);
+ pango_layout_set_font_description (priv->pango_layout, font_desc);
/* FIXMEchpe: check pango_font_description_get_size_is_absolute() ! */
font_size = pango_font_description_get_size (priv->font_desc);
@@ -140,6 +140,8 @@
priv->drag_font_size = 5 * ((font_size > 0) ? font_size : 10 * PANGO_SCALE);
gtk_widget_queue_resize (GTK_WIDGET (chartable));
+
+ g_object_notify (G_OBJECT (chartable), "font-desc");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]