*/
%{
-#include "config.h"
+#include <config.h>
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
"pointer", "*",
NULL);
- g_string_sprintf (get_cbuf,
- "\t%s%s val; "
- "g_object_get (G_OBJECT (self), \"%s\", "
- "&val, NULL); "
- "return val;\n",
- the_type->name,
- the_type->pointer ? the_type->pointer : "",
- var_name);
-
+ g_string_printf(get_cbuf,
+ "\t%s%s val; "
+ "g_object_get (G_OBJECT (self), \"%s\", "
+ "&val, NULL); "
+ "return val;\n",
+ the_type->name,
+ the_type->pointer ? the_type->pointer : "",
+ var_name);
+
typestack = g_list_prepend (typestack, node1);
typestack = g_list_prepend (typestack, node3);
"pointer", "*",
NULL);
- g_string_sprintf (set_cbuf,
- "\tg_object_set (G_OBJECT (self), "
- "\"%s\", val, NULL);\n",
- var_name);
+ g_string_printf(set_cbuf,
+ "\tg_object_set (G_OBJECT (self), "
+ "\"%s\", val, NULL);\n",
+ var_name);
typestack = g_list_prepend (typestack, node2);
typestack = g_list_prepend (typestack, node1);
const char *setcast = "";
char *to_free = NULL;
set_func = g_strdup_printf ("g_value_set_%s", prop->gtktype);
- g_strdown (set_func);
+ gob_strdown (set_func);
get_func = g_strdup_printf ("g_value_get_%s", prop->gtktype);
- g_strdown (get_func);
+ gob_strdown (get_func);
if (for_cpp) {
if (strcmp (prop->gtktype, "FLAGS") == 0) {