117 |
gdk_threads_enter(); |
gdk_threads_enter(); |
118 |
|
|
119 |
font_desc = pango_font_description_from_string (font_name); |
font_desc = pango_font_description_from_string (font_name); |
120 |
pango_font_description_set_size (font_desc, size); |
pango_font_description_set_size (font_desc, size * PANGO_SCALE); |
121 |
|
|
122 |
gtk_widget_modify_font (GTK_WIDGET(entry), font_desc); |
gtk_widget_modify_font (GTK_WIDGET(entry), font_desc); |
123 |
|
|
124 |
pango_font_description_free (font_desc); |
pango_font_description_free (font_desc); |
125 |
|
|
126 |
gdk_threads_leave(); |
gdk_threads_leave(); |