diff options
author | Colin Walters <walters@verbum.org> | 2011-04-29 10:32:56 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-04-29 10:33:50 -0400 |
commit | 9d84e6cda72f37dbd205806382337dc73a7afd09 (patch) | |
tree | 31d8d65876f432ff3811bbeafbecb96024e1c91d /gtk | |
parent | 466d688fea2737c8d257ed542139d754e6fc9a64 (diff) | |
download | gtk+-9d84e6cda72f37dbd205806382337dc73a7afd09.tar.gz |
Drop the last remaining translated g_warning/g_error calls
http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html
https://bugzilla.gnome.org/show_bug.cgi?id=648943
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcolorbutton.c | 2 | ||||
-rw-r--r-- | gtk/gtkiconfactory.c | 2 | ||||
-rw-r--r-- | gtk/gtkicontheme.c | 8 | ||||
-rw-r--r-- | gtk/gtkrc.c | 2 | ||||
-rw-r--r-- | gtk/gtkrecentaction.c | 8 | ||||
-rw-r--r-- | gtk/gtkrecentchoosermenu.c | 8 |
6 files changed, 15 insertions, 15 deletions
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c index 784abf3f0b..352695d73d 100644 --- a/gtk/gtkcolorbutton.c +++ b/gtk/gtkcolorbutton.c @@ -369,7 +369,7 @@ gtk_color_button_drag_data_received (GtkWidget *widget, */ if (length != 8) { - g_warning (_("Received invalid color data\n")); + g_warning ("%s: Received invalid color data", G_GNUC_FUNCTION); return; } diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c index 4feff1087f..2d5902c622 100644 --- a/gtk/gtkiconfactory.c +++ b/gtk/gtkiconfactory.c @@ -1456,7 +1456,7 @@ ensure_filename_pixbuf (GtkIconSet *icon_set, /* Remove this icon source so we don't keep trying to * load it. */ - g_warning (_("Error loading icon: %s"), error->message); + g_warning ("Error loading icon: %s", error->message); g_error_free (error); icon_set->sources = g_slist_remove (icon_set->sources, source); diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 1845adb5ae..71ea135c31 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1419,10 +1419,10 @@ choose_icon (GtkIconTheme *icon_theme, if (!found) { - g_warning (_("Could not find the icon '%s'. The '%s' theme\n" - "was not found either, perhaps you need to install it.\n" - "You can get a copy from:\n" - "\t%s"), + g_warning ("Could not find the icon '%s'. The '%s' theme\n" + "was not found either, perhaps you need to install it.\n" + "You can get a copy from:\n" + "\t%s", icon_names[0], DEFAULT_THEME_NAME, "http://icon-theme.freedesktop.org/releases"); } } diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 3a471d8512..a3692d3659 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1661,7 +1661,7 @@ gtk_rc_find_pixmap_in_path (GtkSettings *settings, GScanner *scanner, const gchar *pixmap_file) { - g_warning (_("Unable to locate image file in pixmap_path: \"%s\""), + g_warning ("Unable to locate image file in pixmap_path: \"%s\"", pixmap_file); return NULL; } diff --git a/gtk/gtkrecentaction.c b/gtk/gtkrecentaction.c index 8d21ae4830..37ba355e22 100644 --- a/gtk/gtkrecentaction.c +++ b/gtk/gtkrecentaction.c @@ -162,16 +162,16 @@ gtk_recent_action_unselect_uri (GtkRecentChooser *chooser, static void gtk_recent_action_select_all (GtkRecentChooser *chooser) { - g_warning (_("This function is not implemented for " - "widgets of class '%s'"), + g_warning ("This function is not implemented for " + "widgets of class '%s'", g_type_name (G_OBJECT_TYPE (chooser))); } static void gtk_recent_action_unselect_all (GtkRecentChooser *chooser) { - g_warning (_("This function is not implemented for " - "widgets of class '%s'"), + g_warning ("This function is not implemented for " + "widgets of class '%s'", g_type_name (G_OBJECT_TYPE (chooser))); } diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c index add5ac037c..4e8856191e 100644 --- a/gtk/gtkrecentchoosermenu.c +++ b/gtk/gtkrecentchoosermenu.c @@ -605,16 +605,16 @@ gtk_recent_chooser_menu_unselect_uri (GtkRecentChooser *chooser, static void gtk_recent_chooser_menu_select_all (GtkRecentChooser *chooser) { - g_warning (_("This function is not implemented for " - "widgets of class '%s'"), + g_warning ("This function is not implemented for " + "widgets of class '%s'", g_type_name (G_OBJECT_TYPE (chooser))); } static void gtk_recent_chooser_menu_unselect_all (GtkRecentChooser *chooser) { - g_warning (_("This function is not implemented for " - "widgets of class '%s'"), + g_warning ("This function is not implemented for " + "widgets of class '%s'", g_type_name (G_OBJECT_TYPE (chooser))); } |