[gtk+/quartz-integration: 67/108] Drop the last remaining translated g_warning/g_error calls



commit d63791df0117664f0278223b8773dc9111ddaefb
Author: Colin Walters <walters verbum org>
Date:   Fri Apr 29 10:32:56 2011 -0400

    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

 gtk/gtkcolorbutton.c       |    2 +-
 gtk/gtkiconfactory.c       |    2 +-
 gtk/gtkicontheme.c         |    8 ++++----
 gtk/gtkrc.c                |    2 +-
 gtk/gtkrecentaction.c      |    8 ++++----
 gtk/gtkrecentchoosermenu.c |    8 ++++----
 6 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 784abf3..352695d 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 4feff10..2d5902c 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 1845adb..71ea135 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 3a471d8..a3692d3 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 8d21ae4..37ba355 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 add5ac0..4e88561 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)));
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]