[gtk] eventcontroller: Fix name property
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] eventcontroller: Fix name property
- Date: Wed, 25 Dec 2019 14:53:06 +0000 (UTC)
commit b398af914f2a184242596279a4744f7e53927653
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 24 19:39:10 2019 -0500
eventcontroller: Fix name property
This never worked. Oops.
gtk/gtkeventcontroller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkeventcontroller.c b/gtk/gtkeventcontroller.c
index e70946b89c..ceebe2959c 100644
--- a/gtk/gtkeventcontroller.c
+++ b/gtk/gtkeventcontroller.c
@@ -443,5 +443,5 @@ gtk_event_controller_set_name (GtkEventController *controller,
g_return_if_fail (GTK_IS_EVENT_CONTROLLER (controller));
g_free (priv->name);
- priv->name = g_strdup (priv->name);
+ priv->name = g_strdup (name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]