From d3baacc32a467b7ce6ce1c6497508ba24a0e3bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 4 Aug 2009 11:45:01 +0200 Subject: [PATCH] textrender: Use PROP_X instead of ARG_X consistently --- ext/pango/gsttextrender.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/pango/gsttextrender.c b/ext/pango/gsttextrender.c index 8c154657a1..6c75485702 100644 --- a/ext/pango/gsttextrender.c +++ b/ext/pango/gsttextrender.c @@ -65,13 +65,13 @@ GST_DEBUG_CATEGORY_EXTERN (pango_debug); enum { - ARG_0, + PROP_0, PROP_HALIGNMENT, PROP_VALIGNMENT, PROP_LINE_ALIGNMENT, PROP_XPAD, PROP_YPAD, - ARG_FONT_DESC + PROP_FONT_DESC }; @@ -194,7 +194,7 @@ gst_text_render_class_init (GstTextRenderClass * klass) fontmap = pango_cairo_font_map_get_default (); klass->pango_context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fontmap)); - g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FONT_DESC, + g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FONT_DESC, g_param_spec_string ("font-desc", "font description", "Pango font description of font " "to be used for rendering. " @@ -624,7 +624,7 @@ gst_text_render_set_property (GObject * object, guint prop_id, case PROP_YPAD: render->ypad = g_value_get_int (value); break; - case ARG_FONT_DESC: + case PROP_FONT_DESC: { PangoFontDescription *desc;