We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d51a5fa + 9fcdda7 commit df4ff09Copy full SHA for df4ff09
rpcgen/templates/template_obj_imp.c
@@ -48,7 +48,8 @@ static void @object@_object_class_init (@GLIB_CLASS@ *klass)
48
@init_properties@
49
gc->set_property = handle_set_property;
50
gc->get_property = handle_get_property;
51
- g_object_class_install_properties(gc, N_PROPERTIES, obj_properties);
+ if (N_PROPERTIES > 1)
52
+ g_object_class_install_properties(gc, N_PROPERTIES, obj_properties);
53
}
54
55
@GLIB_OBJ@ *@object@_create_glib_obj()
0 commit comments