Commit 734f319b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

formatting.

2008-04-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpnumberpairentry.c
	(gimp_number_pair_entry_modify_font): formatting.


svn path=/trunk/; revision=25515
parent c6cdd13a
2008-04-23 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpnumberpairentry.c
(gimp_number_pair_entry_modify_font): formatting.
2008-04-22 Michael Natterer <mitch@gimp.org>
* app/actions/view-actions.c (view_actions_update): simplify call
......
......@@ -723,9 +723,13 @@ gimp_number_pair_entry_modify_font (GimpNumberPairEntry *entry,
if (! rc_style->font_desc)
{
PangoContext *context = gtk_widget_get_pango_context (GTK_WIDGET (entry));
PangoContext *context;
PangoFontDescription *font_desc;
rc_style->font_desc = pango_font_description_copy (pango_context_get_font_description (context));
context = gtk_widget_get_pango_context (GTK_WIDGET (entry));
font_desc = pango_context_get_font_description (context);
rc_style->font_desc = pango_font_description_copy (font_desc);
}
pango_font_description_set_style (rc_style->font_desc,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment