modifierstyle: Fix compile errors

Introduced in 7bd2446801
This commit is contained in:
Benjamin Otte 2011-12-06 18:01:57 +01:00
parent 288b1539d1
commit c24742e789

View File

@ -157,7 +157,6 @@ modifier_style_set_color (GtkModifierStyle *style,
const GdkRGBA *color)
{
GtkModifierStylePrivate *priv;
GdkRGBA *old_color;
g_return_if_fail (GTK_IS_MODIFIER_STYLE (style));
@ -171,7 +170,6 @@ modifier_style_set_color (GtkModifierStyle *style,
gtk_style_properties_unset_property (priv->style, prop, state);
g_signal_emit (style, signals[CHANGED], 0);
gdk_rgba_free (old_color);
}
void
@ -199,7 +197,6 @@ _gtk_modifier_style_set_font (GtkModifierStyle *style,
const PangoFontDescription *font_desc)
{
GtkModifierStylePrivate *priv;
PangoFontDescription *old_font;
g_return_if_fail (GTK_IS_MODIFIER_STYLE (style));
@ -212,9 +209,6 @@ _gtk_modifier_style_set_font (GtkModifierStyle *style,
else
gtk_style_properties_unset_property (priv->style, "font", 0);
if (old_font)
pango_font_description_free (old_font);
g_signal_emit (style, signals[CHANGED], 0);
}