[ekiga/gnome-2-26] Fix glib warning about "weight" property



commit 45109cc01d4c1280f7b93c32befa314fa9e17786
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Thu Oct 22 16:48:35 2009 +0200

    Fix glib warning about "weight" property

 lib/gui/codecsbox.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/gui/codecsbox.cpp b/lib/gui/codecsbox.cpp
index 3c3218e..ff87dde 100644
--- a/lib/gui/codecsbox.cpp
+++ b/lib/gui/codecsbox.cpp
@@ -436,7 +436,7 @@ codecs_box_init (CodecsBox *self)
                                                      COLUMN_CODEC_NAME,
                                                      NULL);
   gtk_tree_view_append_column (GTK_TREE_VIEW (self->priv->codecs_list), column);
-  g_object_set (G_OBJECT (renderer), "weight", "bold", NULL);
+  g_object_set (G_OBJECT (renderer), "weight", PANGO_WEIGHT_BOLD, NULL);
 
   renderer = gtk_cell_renderer_text_new ();
   column = gtk_tree_view_column_new_with_attributes (NULL,



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