summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-07-06 05:14:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-07-06 05:14:03 +0000
commitf8794ccccadc91bd37a4fe19577fc789cf0d0107 (patch)
tree47fea3e572b4614ca5aada3be8a53ea671e34980 /gtk/gtkselection.c
parente5afc7e33198a7b694e4177de7802e80d0be1aec (diff)
downloadgtk+-f8794ccccadc91bd37a4fe19577fc789cf0d0107.tar.gz
Improve consistency of signal and property names
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r--gtk/gtkselection.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index a7712ce213..5715b50f40 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -1275,8 +1275,8 @@ selection_set_text_plain (GtkSelectionData *selection_data,
if (!result)
{
- g_warning ("Error converting from UTF-8 to %s: %s",
- charset, error->message);
+ g_warning ("Error converting from %s to %s: %s",
+ "UTF-8", charset, error->message);
g_error_free (error);
return FALSE;
@@ -1316,8 +1316,8 @@ selection_get_text_plain (GtkSelectionData *selection_data)
if (!str)
{
- g_warning ("Error converting from %s to UTF-8: %s",
- charset, error->message);
+ g_warning ("Error converting from %s to %s: %s",
+ charset, "UTF-8", error->message);
g_error_free (error);
return NULL;
@@ -1325,7 +1325,8 @@ selection_get_text_plain (GtkSelectionData *selection_data)
}
else if (!g_utf8_validate (str, -1, NULL))
{
- g_warning ("Error converting from text/plain;charset=utf-8 to UTF-8");
+ g_warning ("Error converting from %s to %s: %s",
+ "text/plain;charset=utf-8", "UTF-8", "invalid UTF-8");
g_free (str);
return NULL;