listview: Activatable means activate
authorBenjamin Otte <otte@redhat.com>
Thu, 23 Mar 2023 19:37:57 +0000 (20:37 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 24 Mar 2023 04:43:13 +0000 (05:43 +0100)
Fix a typo that prevented activatable widgets from activating since the
refactoring in 608be08b0d6.

gtk/gtklistfactorywidget.c

index 8e0197e6ee3e24502306f370287b631a70cb47e1..684cefa3e6a9a62c11c20c835293a9afedf4d2e0 100644 (file)
@@ -65,7 +65,7 @@ gtk_list_factory_widget_activate_signal (GtkListFactoryWidget *self)
 {
   GtkListFactoryWidgetPrivate *priv = gtk_list_factory_widget_get_instance_private (self);
 
-  if (priv->activatable)
+  if (!priv->activatable)
     return;
 
   gtk_widget_activate_action (GTK_WIDGET (self),