Commit ded51eed authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

plug-ins/metadata/interface.c fix some gssize confusion.

2005-03-07  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/interface.c
        * plug-ins/metadata/xmp-model.c: fix some gssize confusion.
parent aa0f5fa6
2005-03-07 Manish Singh <yosh@gimp.org>
* plug-ins/metadata/interface.c
* plug-ins/metadata/xmp-model.c: fix some gssize confusion.
2005-03-07 Sven Neumann <sven@gimp.org> 2005-03-07 Sven Neumann <sven@gimp.org>
* app/tools/gimpellipseselecttool.c * app/tools/gimpellipseselecttool.c
......
...@@ -367,7 +367,7 @@ import_dialog_response (GtkWidget *dlg, ...@@ -367,7 +367,7 @@ import_dialog_response (GtkWidget *dlg,
{ {
gchar *filename; gchar *filename;
gchar *buffer; gchar *buffer;
guint buffer_length; gssize buffer_length;
GError *error = NULL; GError *error = NULL;
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg)); filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg));
...@@ -449,9 +449,9 @@ export_dialog_response (GtkWidget *dlg, ...@@ -449,9 +449,9 @@ export_dialog_response (GtkWidget *dlg,
if (response_id == GTK_RESPONSE_OK) if (response_id == GTK_RESPONSE_OK)
{ {
gchar *filename; gchar *filename;
gchar *buffer; gchar *buffer;
guint buffer_length; gssize buffer_length;
int fd; int fd;
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg)); filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg));
......
...@@ -960,7 +960,7 @@ xmp_model_parse_file (XMPModel *xmp_model, ...@@ -960,7 +960,7 @@ xmp_model_parse_file (XMPModel *xmp_model,
GError **error) GError **error)
{ {
gchar *buffer; gchar *buffer;
guint buffer_length; gssize buffer_length;
g_return_val_if_fail (filename != NULL, FALSE); g_return_val_if_fail (filename != NULL, FALSE);
if (! g_file_get_contents (filename, &buffer, &buffer_length, error)) if (! g_file_get_contents (filename, &buffer, &buffer_length, error))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment