libgimp/gimpbrushmenu.c libgimp/gimpdrawablecombobox.c

2005-08-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpfontselectbutton.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpimagecombobox.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: fixed signedness warnings.
This commit is contained in:
Sven Neumann 2005-08-02 22:15:33 +00:00 committed by Sven Neumann
parent 00d1d29902
commit 990ee2074a
9 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2005-08-03 Sven Neumann <sven@gimp.org>
* libgimp/gimpbrushmenu.c
* libgimp/gimpdrawablecombobox.c
* libgimp/gimpfontselectbutton.c
* libgimp/gimpgradientmenu.c
* libgimp/gimpimagecombobox.c
* libgimp/gimppalettemenu.c
* libgimp/gimppatternmenu.c: fixed signedness warnings.
2005-08-02 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/procbrowser.c: Quick and dirty restore of browser

View File

@ -612,7 +612,7 @@ gimp_brush_select_drag_data_received (GtkWidget *preview,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -406,7 +406,7 @@ gimp_drawable_combo_box_drag_data_received (GtkWidget *widget,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -400,7 +400,7 @@ gimp_font_select_drag_data_received (GtkWidget *widget,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -422,7 +422,7 @@ gimp_gradient_select_drag_data_received (GtkWidget *widget,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -200,7 +200,7 @@ gimp_image_combo_box_drag_data_received (GtkWidget *widget,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -406,7 +406,7 @@ gimp_drawable_combo_box_drag_data_received (GtkWidget *widget,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -272,7 +272,7 @@ gimp_palette_select_drag_data_received (GtkWidget *widget,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{

View File

@ -506,7 +506,7 @@ gimp_pattern_select_drag_data_received (GtkWidget *preview,
return;
}
str = g_strndup (selection->data, selection->length);
str = g_strndup ((const gchar *) selection->data, selection->length);
if (g_utf8_validate (str, -1, NULL))
{