]> granicus.if.org Git - handbrake/commitdiff
LinGui: older versions of glib don't have g_dgettext, so don't use it
authorjstebbins <jstebbins.hb@gmail.com>
Fri, 10 Apr 2009 22:05:06 +0000 (22:05 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Fri, 10 Apr 2009 22:05:06 +0000 (22:05 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2318 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/ghbcompositor.c

index 81ac2650ec3447f66c903d47c357747097c25bcb..11e1441f5cb654d627fd6dc1c748cfafafd90ce7 100644 (file)
 #include <gtk/gtkmarshal.h>
 #include "ghbcompositor.h"
 
-#ifdef ENABLE_NLS
-#define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
-#else
-#define P_(String) (String)
-#endif
-
 enum {
     PROP_0,
 };
@@ -119,16 +113,16 @@ ghb_compositor_class_init (GhbCompositorClass *class)
     gtk_container_class_install_child_property (container_class,
                         CHILD_PROP_Z_POS,
                         g_param_spec_uint ("z-pos",
-                            P_("Position in Z-List"),
-                            P_("Sets the blending order of the child."),
+                            "Position in Z-List",
+                            "Sets the blending order of the child.",
                             0, 65535, 0,
                             GTK_PARAM_READWRITE));
 
     gtk_container_class_install_child_property (container_class,
                         CHILD_PROP_OPACITY,
                         g_param_spec_double ("opacity",
-                            P_("Opacity"),
-                            P_("Sets the opacity of the child."),
+                            "Opacity",
+                            "Sets the opacity of the child.",
                             0.0, 1.0, 1.0,
                             GTK_PARAM_READWRITE));