summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-04-10 22:05:06 +0000
committerjstebbins <[email protected]>2009-04-10 22:05:06 +0000
commitba1667e3bd232bacd5a8f525bd07c506e240ca5a (patch)
treeca5bde09353f9a6895ad005bc22cfb6411214ba5 /gtk/src
parent50ce0a348a12a281f6907fe65189e2b34589a420 (diff)
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
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/ghbcompositor.c14
1 files changed, 4 insertions, 10 deletions
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 <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));