mirror of https://github.com/GNOME/gimp.git
even more tabs that I missed earlier
This commit is contained in:
parent
a984ec7b8a
commit
8ed41a7c60
|
@ -89,7 +89,7 @@ gimp_brushes_get_list (const gchar *filter,
|
|||
*num_brushes = return_vals[1].data.d_int32;
|
||||
brush_list = g_new (gchar *, *num_brushes);
|
||||
for (i = 0; i < *num_brushes; i++)
|
||||
brush_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
brush_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -60,7 +60,7 @@ gimp_buffers_get_list (const gchar *filter,
|
|||
*num_buffers = return_vals[1].data.d_int32;
|
||||
buffer_list = g_new (gchar *, *num_buffers);
|
||||
for (i = 0; i < *num_buffers; i++)
|
||||
buffer_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
buffer_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -86,7 +86,7 @@ gimp_fonts_get_list (const gchar *filter,
|
|||
*num_fonts = return_vals[1].data.d_int32;
|
||||
font_list = g_new (gchar *, *num_fonts);
|
||||
for (i = 0; i < *num_fonts; i++)
|
||||
font_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
font_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -89,7 +89,7 @@ gimp_gradients_get_list (const gchar *filter,
|
|||
*num_gradients = return_vals[1].data.d_int32;
|
||||
gradient_list = g_new (gchar *, *num_gradients);
|
||||
for (i = 0; i < *num_gradients; i++)
|
||||
gradient_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
gradient_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -87,7 +87,7 @@ gimp_palettes_get_list (const gchar *filter,
|
|||
*num_palettes = return_vals[1].data.d_int32;
|
||||
palette_list = g_new (gchar *, *num_palettes);
|
||||
for (i = 0; i < *num_palettes; i++)
|
||||
palette_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
palette_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -150,7 +150,7 @@ gimp_parasite_list (gint *num_parasites,
|
|||
*num_parasites = return_vals[1].data.d_int32;
|
||||
*parasites = g_new (gchar *, *num_parasites);
|
||||
for (i = 0; i < *num_parasites; i++)
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
@ -295,7 +295,7 @@ gimp_image_parasite_list (gint32 image_ID,
|
|||
*num_parasites = return_vals[1].data.d_int32;
|
||||
*parasites = g_new (gchar *, *num_parasites);
|
||||
for (i = 0; i < *num_parasites; i++)
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
@ -440,7 +440,7 @@ gimp_drawable_parasite_list (gint32 drawable_ID,
|
|||
*num_parasites = return_vals[1].data.d_int32;
|
||||
*parasites = g_new (gchar *, *num_parasites);
|
||||
for (i = 0; i < *num_parasites; i++)
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
@ -593,7 +593,7 @@ gimp_vectors_parasite_list (gint32 vectors_ID,
|
|||
*num_parasites = return_vals[1].data.d_int32;
|
||||
*parasites = g_new (gchar *, *num_parasites);
|
||||
for (i = 0; i < *num_parasites; i++)
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
(*parasites)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -57,7 +57,7 @@ gimp_path_list (gint32 image_ID,
|
|||
*num_paths = return_vals[1].data.d_int32;
|
||||
path_list = g_new (gchar *, *num_paths);
|
||||
for (i = 0; i < *num_paths; i++)
|
||||
path_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
path_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -89,7 +89,7 @@ gimp_patterns_get_list (const gchar *filter,
|
|||
*num_patterns = return_vals[1].data.d_int32;
|
||||
pattern_list = g_new (gchar *, *num_patterns);
|
||||
for (i = 0; i < *num_patterns; i++)
|
||||
pattern_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
pattern_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -157,7 +157,7 @@ gimp_procedural_db_query (const gchar *name,
|
|||
*num_matches = return_vals[1].data.d_int32;
|
||||
*procedure_names = g_new (gchar *, *num_matches);
|
||||
for (i = 0; i < *num_matches; i++)
|
||||
(*procedure_names)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
(*procedure_names)[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
|
||||
}
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
|
|
@ -324,7 +324,7 @@ CODE
|
|||
$var = g_new ($datatype, $numvar);
|
||||
NEW
|
||||
for (i = 0; i < $numvar; i++)
|
||||
$dh$_->{name}$df\[i] = ${ch}return_vals[$argc].data.d_$type\[i]${cf};
|
||||
$dh$_->{name}$df\[i] = ${ch}return_vals[$argc].data.d_$type\[i]${cf};
|
||||
CP1
|
||||
memcpy ($var,
|
||||
return_vals[$argc].data.d_$type,
|
||||
|
|
Loading…
Reference in New Issue