gtk+ r19547 - in trunk: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19547 - in trunk: . gtk
- Date: Tue, 12 Feb 2008 22:43:35 +0000 (GMT)
Author: matthiasc
Date: Tue Feb 12 22:43:35 2008
New Revision: 19547
URL: http://svn.gnome.org/viewvc/gtk+?rev=19547&view=rev
Log:
2008-02-12 Matthias Clasen <mclasne redhat com>
* gtk/gtkpapersize.c:
* gtk/gtkprintoperation.c:
* gtk/gtkvolumebutton.c:
* gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
out by Behdad Esfahbod.
Modified:
trunk/ChangeLog
trunk/gtk/gtkbuilderparser.c
trunk/gtk/gtkpapersize.c
trunk/gtk/gtkprintoperation.c
trunk/gtk/gtkvolumebutton.c
Modified: trunk/gtk/gtkbuilderparser.c
==============================================================================
--- trunk/gtk/gtkbuilderparser.c (original)
+++ trunk/gtk/gtkbuilderparser.c Tue Feb 12 22:43:35 2008
@@ -18,24 +18,20 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <string.h>
-#include <glib/gfileutils.h>
-#include <glib/gi18n.h>
-#include <glib/gmacros.h>
-#include <glib/gmessages.h>
-#include <glib/gslist.h>
-#include <glib/gstrfuncs.h>
-#include <glib-object.h>
#include <gmodule.h>
#include <gdk/gdkenumtypes.h>
#include <gdk/gdkkeys.h>
-#include <gtk/gtktypeutils.h>
+#include "gtktypeutils.h"
#include "gtkbuilderprivate.h"
#include "gtkbuilder.h"
#include "gtkbuildable.h"
#include "gtkdebug.h"
#include "gtktypeutils.h"
+#include "gtkintl.h"
#include "gtkalias.h"
static void free_property_info (PropertyInfo *info);
Modified: trunk/gtk/gtkpapersize.c
==============================================================================
--- trunk/gtk/gtkpapersize.c (original)
+++ trunk/gtk/gtkpapersize.c Tue Feb 12 22:43:35 2008
@@ -525,7 +525,7 @@
g_assert (size->info != NULL);
display_name = paper_names + size->info->display_name;
- return g_strip_context (display_name, gettext (display_name));
+ return g_strip_context (display_name, _(display_name));
}
/**
Modified: trunk/gtk/gtkprintoperation.c
==============================================================================
--- trunk/gtk/gtkprintoperation.c (original)
+++ trunk/gtk/gtkprintoperation.c Tue Feb 12 22:43:35 2008
@@ -1518,8 +1518,7 @@
status = GTK_PRINT_STATUS_FINISHED_ABORTED;
if (string == NULL)
- string = g_strip_context (status_strs[status],
- gettext (status_strs[status]));
+ string = g_strip_context (status_strs[status], _(status_strs[status]));
if (priv->status == status &&
strcmp (string, priv->status_string) == 0)
Modified: trunk/gtk/gtkvolumebutton.c
==============================================================================
--- trunk/gtk/gtkvolumebutton.c (original)
+++ trunk/gtk/gtkvolumebutton.c Tue Feb 12 22:43:35 2008
@@ -29,12 +29,12 @@
#include <config.h>
-#include <glib/gi18n.h>
#include <atk/atk.h>
#include "gtkvolumebutton.h"
#include "gtkstock.h"
#include "gtktooltip.h"
+#include "gtkintl.h"
#include "gtkalias.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]