Commit 990ee207 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 00d1d299
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
......
......@@ -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))
{
......
......@@ -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))
{
......
......@@ -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))
{
......
......@@ -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))
{
......
......@@ -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))
{
......
......@@ -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))
{
......
......@@ -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))
{
......
......@@ -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))
{
......
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