[gdk-pixbuf] lib: Replace P_() by _()



commit 144f336508f72cb8bafa60082de84e09a5061f22
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Oct 23 19:25:17 2014 +0200

    lib: Replace P_() by _()
    
    As they're defined to the same thing anyway.

 gdk-pixbuf/gdk-pixbuf-simple-anim.c |    4 +-
 gdk-pixbuf/gdk-pixbuf.c             |   36 +++++++++++++++++-----------------
 2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-simple-anim.c b/gdk-pixbuf/gdk-pixbuf-simple-anim.c
index 97acdb9..9f6ce4e 100644
--- a/gdk-pixbuf/gdk-pixbuf-simple-anim.c
+++ b/gdk-pixbuf/gdk-pixbuf-simple-anim.c
@@ -158,8 +158,8 @@ gdk_pixbuf_simple_anim_class_init (GdkPixbufSimpleAnimClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_LOOP,
                                          g_param_spec_boolean ("loop",
-                                                               P_("Loop"),
-                                                               P_("Whether the animation should loop when it 
reaches the end"),
+                                                               _("Loop"),
+                                                               _("Whether the animation should loop when it 
reaches the end"),
                                                                FALSE,
                                                                G_PARAM_READWRITE));
 }
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c
index 9f127ae..18bfae7 100644
--- a/gdk-pixbuf/gdk-pixbuf.c
+++ b/gdk-pixbuf/gdk-pixbuf.c
@@ -156,8 +156,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_N_CHANNELS,
                                          g_param_spec_int ("n-channels",
-                                                           P_("Number of Channels"),
-                                                           P_("The number of samples per pixel"),
+                                                           _("Number of Channels"),
+                                                           _("The number of samples per pixel"),
                                                            0,
                                                            G_MAXINT,
                                                            3,
@@ -166,8 +166,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_COLORSPACE,
                                          g_param_spec_enum ("colorspace",
-                                                            P_("Colorspace"),
-                                                            P_("The colorspace in which the samples are 
interpreted"),
+                                                            _("Colorspace"),
+                                                            _("The colorspace in which the samples are 
interpreted"),
                                                             GDK_TYPE_COLORSPACE,
                                                             GDK_COLORSPACE_RGB,
                                                             PIXBUF_PARAM_FLAGS));
@@ -175,8 +175,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_HAS_ALPHA,
                                          g_param_spec_boolean ("has-alpha",
-                                                               P_("Has Alpha"),
-                                                               P_("Whether the pixbuf has an alpha channel"),
+                                                               _("Has Alpha"),
+                                                               _("Whether the pixbuf has an alpha channel"),
                                                                FALSE,
                                                                PIXBUF_PARAM_FLAGS));
 
@@ -189,8 +189,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_BITS_PER_SAMPLE,
                                          g_param_spec_int ("bits-per-sample",
-                                                           P_("Bits per Sample"),
-                                                           P_("The number of bits per sample"),
+                                                           _("Bits per Sample"),
+                                                           _("The number of bits per sample"),
                                                            1,
                                                            16,
                                                            8,
@@ -199,8 +199,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_WIDTH,
                                          g_param_spec_int ("width",
-                                                           P_("Width"),
-                                                           P_("The number of columns of the pixbuf"),
+                                                           _("Width"),
+                                                           _("The number of columns of the pixbuf"),
                                                            1,
                                                            G_MAXINT,
                                                            1,
@@ -209,8 +209,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_HEIGHT,
                                          g_param_spec_int ("height",
-                                                           P_("Height"),
-                                                           P_("The number of rows of the pixbuf"),
+                                                           _("Height"),
+                                                           _("The number of rows of the pixbuf"),
                                                            1,
                                                            G_MAXINT,
                                                            1,
@@ -226,8 +226,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_ROWSTRIDE,
                                          g_param_spec_int ("rowstride",
-                                                           P_("Rowstride"),
-                                                           P_("The number of bytes between the start of a 
row and the start of the next row"),
+                                                           _("Rowstride"),
+                                                           _("The number of bytes between the start of a row 
and the start of the next row"),
                                                            1,
                                                            G_MAXINT,
                                                            1,
@@ -236,8 +236,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_PIXELS,
                                          g_param_spec_pointer ("pixels",
-                                                               P_("Pixels"),
-                                                               P_("A pointer to the pixel data of the 
pixbuf"),
+                                                               _("Pixels"),
+                                                               _("A pointer to the pixel data of the 
pixbuf"),
                                                                PIXBUF_PARAM_FLAGS));
 
         /**
@@ -251,8 +251,8 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
         g_object_class_install_property (object_class,
                                          PROP_PIXEL_BYTES,
                                          g_param_spec_boxed ("pixel-bytes",
-                                                             P_("Pixel Bytes"),
-                                                             P_("Readonly pixel data"),
+                                                             _("Pixel Bytes"),
+                                                             _("Readonly pixel data"),
                                                              G_TYPE_BYTES,
                                                              PIXBUF_PARAM_FLAGS));
 }


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