gchar *kf = g_key_file_to_data (conf->keyfile, &length, NULL);
- if ( ! g_file_set_contents (conf->filename, kf, length, NULL) )
+ if (! g_file_set_contents (conf->filename, kf, length, NULL))
{
g_warning ("Cannot open %s for writing", conf->filename);
}
static void
conf_write (PsppireConf *conf)
{
- if ( conf->idle == 0)
+ if (conf->idle == 0)
conf->idle = g_idle_add_full (G_PRIORITY_LOW,
(GSourceFunc) flush_conf, conf, NULL);
}
name, &err);
ok = (err == NULL);
- if ( err != NULL )
+ if (err != NULL)
g_error_free (err);
return ok;
name, &err);
ok = (err == NULL);
- if ( err != NULL )
+ if (err != NULL)
g_error_free (err);
if (ok)
name, &err);
ok = (err == NULL);
- if ( err != NULL )
+ if (err != NULL)
g_error_free (err);
if (ok)
name, &err);
ok = (err == NULL);
- if ( err != NULL )
+ if (err != NULL)
g_error_free (err);
if (ok)
name, &err);
ok = (err == NULL);
- if ( err != NULL )
+ if (err != NULL)
g_error_free (err);
if (ok)
if (psppire_conf_get_int (conf, base, "height", &height)
&&
- psppire_conf_get_int (conf, base, "width", &width) )
+ psppire_conf_get_int (conf, base, "width", &width))
{
gtk_window_set_default_size (window, width, height);
}
- if ( psppire_conf_get_int (conf, base, "x", &x)
+ if (psppire_conf_get_int (conf, base, "x", &x)
&&
- psppire_conf_get_int (conf, base, "y", &y) )
+ psppire_conf_get_int (conf, base, "y", &y))
{
gtk_window_move (window, x, y);
}
- if ( psppire_conf_get_boolean (conf, base, "maximize", &maximize))
+ if (psppire_conf_get_boolean (conf, base, "maximize", &maximize))
{
if (maximize)
gtk_window_maximize (window);