Free text after proxy combo text change
This commit is contained in:
parent
aff89e587f
commit
8c1e5e4305
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ proxy_combo_box_text_changed_cb (GtkComboBox* button,
|
||||||
gchar* text = gtk_combo_box_get_active_text (button);
|
gchar* text = gtk_combo_box_get_active_text (button);
|
||||||
const gchar* property = g_object_get_data (G_OBJECT (button), "property");
|
const gchar* property = g_object_get_data (G_OBJECT (button), "property");
|
||||||
g_object_set (object, property, text, NULL);
|
g_object_set (object, property, text, NULL);
|
||||||
|
g_free (text);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const gchar*
|
static const gchar*
|
||||||
|
|
Loading…
Reference in a new issue