Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1488
This commit is contained in:
Matthias Clasen 2020-02-27 20:29:04 +00:00
commit 29d033a8b3
2 changed files with 2 additions and 4 deletions

View File

@ -170,9 +170,7 @@ gtk_css_font_features_value_new_empty (void)
GtkCssValue *result;
result = _gtk_css_value_new (GtkCssValue, &GTK_CSS_VALUE_FONT_FEATURES);
result->features = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free,
(GDestroyNotify) _gtk_css_value_unref);
result->features = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
result->is_computed = TRUE;
return result;

View File

@ -2105,7 +2105,7 @@ _gtk_widget_emulate_press (GtkWidget *widget,
/* Perform propagation state starting from the next child in the chain */
gtk_propagate_event_internal (event_widget, press, next_child);
g_object_unref (press);
gdk_event_unref (press);
}
static GdkEvent *