We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8bddd commit de3e05bCopy full SHA for de3e05b
mate-panel/panel-toplevel.c
@@ -2317,7 +2317,7 @@ calculate_minimum_height (GtkWidget *widget,
2317
{
2318
GtkStateFlags state;
2319
GtkStyleContext *style_context;
2320
- const PangoFontDescription *font_desc;
+ PangoFontDescription *font_desc;
2321
GtkBorder padding;
2322
PangoContext *pango_context;
2323
PangoFontMetrics *metrics;
@@ -2338,6 +2338,7 @@ calculate_minimum_height (GtkWidget *widget,
2338
ascent = pango_font_metrics_get_ascent (metrics);
2339
descent = pango_font_metrics_get_descent (metrics);
2340
2341
+ pango_font_description_free (font_desc);
2342
pango_font_metrics_unref (metrics);
2343
2344
thickness = orientation & PANEL_HORIZONTAL_MASK ?
0 commit comments