mirror of https://github.com/GNOME/gimp.git
formatting.
2008-04-23 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpnumberpairentry.c (gimp_number_pair_entry_modify_font): formatting. svn path=/trunk/; revision=25515
This commit is contained in:
parent
c6cdd13af6
commit
734f319bfe
|
@ -1,3 +1,8 @@
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue