Author: abrander
Date: 2009-11-30 20:43:15 +0100 (Mon, 30 Nov 2009)
New Revision: 2768

Modified:
   trunk/librawstudio/rs-plugin-manager.c
Log:
Added comment describing the importance of initializing classes quickly.

Modified: trunk/librawstudio/rs-plugin-manager.c
===================================================================
--- trunk/librawstudio/rs-plugin-manager.c      2009-11-30 17:24:55 UTC (rev 
2767)
+++ trunk/librawstudio/rs-plugin-manager.c      2009-11-30 19:43:15 UTC (rev 
2768)
@@ -79,6 +79,9 @@
                GParamSpec **specs;
                gint n_specs = 0;
                gint s;
+               /* NOTE: Some plugins depend on all classes is initialized 
before ANY
+                * instance instantiation takes place, it is NOT safe to just 
remove
+                * the next line! */
                klass = g_type_class_ref(plugins[i]);
                g_debug("* %s: %s", g_type_name(plugins[i]), klass->name);
                specs = g_object_class_list_properties(G_OBJECT_CLASS(klass), 
&n_specs);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to