pidgin/plugins/disco/xmppdiscoservice.c

changeset 42584
687260353985
parent 42573
9dc369a7d7da
child 42767
8cf1d11b59c1
--- a/pidgin/plugins/disco/xmppdiscoservice.c	Tue Jan 23 01:38:28 2024 -0600
+++ b/pidgin/plugins/disco/xmppdiscoservice.c	Fri Jan 26 02:33:19 2024 -0600
@@ -55,10 +55,10 @@
 	PROP_EXPANDED,
 	PROP_ICON_NAME,
 	PROP_CHILD_MODEL,
-	PROP_LAST
+	N_PROPERTIES,
 };
 
-static GParamSpec *properties[PROP_LAST] = {NULL};
+static GParamSpec *properties[N_PROPERTIES] = {NULL, };
 
 /******************************************************************************
  * Helpers
@@ -274,7 +274,7 @@
 	        G_TYPE_LIST_MODEL,
 	        G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
-	g_object_class_install_properties(obj_class, PROP_LAST, properties);
+	g_object_class_install_properties(obj_class, N_PROPERTIES, properties);
 }
 
 static void

mercurial