TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
586 stars 155 forks source link

Fix warning missing sentinel in function call 3 #549

Closed Pan7 closed 7 years ago

Pan7 commented 7 years ago

radiant/preferences.cpp:2116:41: warning: missing sentinel in function call [-Wsentinel] g_object_set( spin, "xalign", 1.0, NULL ); ^ , NULL /opt/local/include/glib-2.0/gobject/gobject.h:432:10: note: function has been explicitly marked sentinel here void g_object_set (gpointer object, ^ radiant/preferences.cpp:2132:41: warning: missing sentinel in function call [-Wsentinel]

g_object_set( spin, "xalign", 1.0, NULL );

See https://github.com/TTimo/GtkRadiant/issues/467