{
GtkFormPrivate *priv = GTK_FORM_GET_PRIVATE (form);
- priv->table = "";
+ priv->table = g_strdup ("");
priv->fields = NULL;
priv->key = NULL;
}
g_return_val_if_fail (IS_GTK_FORM (form), NULL);
+ priv = GTK_FORM_GET_PRIVATE (form);
+
return (const gchar *)g_strdup (priv->table);
}
g_return_if_fail (IS_GTK_FORM (form));
g_return_if_fail (table != NULL);
+ priv = GTK_FORM_GET_PRIVATE (form);
+
priv->table = g_strstrip (g_strdup (table));
}
g_return_val_if_fail (IS_GTK_FORM (form), NULL);
+ priv = GTK_FORM_GET_PRIVATE (form);
+
return priv->key;
}
g_return_if_fail (IS_GTK_FORM (form));
g_return_if_fail (IS_GTK_FORM_KEY (key));
+ priv = GTK_FORM_GET_PRIVATE (form);
+
priv->key = key;
}