pidgin/pidginaccountchooser.c

changeset 42584
687260353985
parent 42575
580339aa47cc
child 42649
6986f5428d30
--- a/pidgin/pidginaccountchooser.c	Tue Jan 23 01:38:28 2024 -0600
+++ b/pidgin/pidginaccountchooser.c	Fri Jan 26 02:33:19 2024 -0600
@@ -38,10 +38,10 @@
 	PROP_0,
 	PROP_ACCOUNT,
 	PROP_FILTER,
-	PROP_LAST
+	N_PROPERTIES,
 };
 
-static GParamSpec *properties[PROP_LAST] = {NULL};
+static GParamSpec *properties[N_PROPERTIES] = {NULL, };
 
 /******************************************************************************
  * Callbacks
@@ -120,7 +120,7 @@
 	        GTK_TYPE_FILTER,
 	        G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
-	g_object_class_install_properties(obj_class, PROP_LAST, properties);
+	g_object_class_install_properties(obj_class, N_PROPERTIES, properties);
 
 	/* Widget template */
 	gtk_widget_class_set_template_from_resource(

mercurial