listview: Fix some oversights

The list factory widget was notifying the wrong properties.
This commit is contained in:
Matthias Clasen 2024-04-26 11:18:07 -04:00
parent 2e08db91ca
commit 05d5860dc0

View File

@ -586,7 +586,7 @@ gtk_list_factory_widget_set_activatable (GtkListFactoryWidget *self,
else
gtk_widget_remove_css_class (GTK_WIDGET (self), "activatable");
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SINGLE_CLICK_ACTIVATE]);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_ACTIVATABLE]);
}
gboolean
@ -608,7 +608,7 @@ gtk_list_factory_widget_set_selectable (GtkListFactoryWidget *self,
priv->selectable = selectable;
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SINGLE_CLICK_ACTIVATE]);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SELECTABLE]);
}
gboolean