From ba1667e3bd232bacd5a8f525bd07c506e240ca5a Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 10 Apr 2009 22:05:06 +0000 Subject: LinGui: older versions of glib don't have g_dgettext, so don't use it git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2318 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/ghbcompositor.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'gtk/src/ghbcompositor.c') diff --git a/gtk/src/ghbcompositor.c b/gtk/src/ghbcompositor.c index 81ac2650e..11e1441f5 100644 --- a/gtk/src/ghbcompositor.c +++ b/gtk/src/ghbcompositor.c @@ -32,12 +32,6 @@ #include #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)); -- cgit v1.2.3