NULL vs. 0. Fix a test to use the boolean instead of the return value from
2004-12-25 Kjartan Maraas <kmaraas@gnome.org> * factory.c: (main): NULL vs. 0. * gnome-settings-default-editor.c: (vfs_change_cb): Fix a test to use the boolean instead of the return value from a void function. This has been sitting in bugzilla forever and now other people start adding comments to the code about it so I'm just going to commit. * gnome-settings-keybindings.c: (binding_register_keys): ANSIfication.
This commit is contained in:
parent
dbbb7dc8d5
commit
ea68d7a0c9
4 changed files with 12 additions and 10 deletions
|
@ -16,7 +16,7 @@ int main (int argc, char *argv [])
|
|||
{
|
||||
GnomeClient *session;
|
||||
Bonobo_RegistrationResult ret;
|
||||
gchar *restart_argv[] = { "gnome-settings-daemon", NULL, 0 };
|
||||
gchar *restart_argv[] = { "gnome-settings-daemon", NULL, NULL };
|
||||
|
||||
restart_argv[1] = *argv;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue