Avoid warning when specifying NULL for "attributes" property

* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
This commit is contained in:
Padraig O'Briain 2001-08-15 15:01:23 +00:00
parent 0e32a729ec
commit 504604370a
8 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -1,3 +1,8 @@
2001-08-15 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkcellrenderertext.c:
Avoid warning when specifying NULL for "attributes" property
2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de> 2001-08-15 Matthias Clasen <matthiasc@waldgeist.poet.de>
* docs/debugging.txt: Add a warning about --enable-debug=no, * docs/debugging.txt: Add a warning about --enable-debug=no,

View File

@ -714,7 +714,8 @@ gtk_cell_renderer_text_set_property (GObject *object,
pango_attr_list_unref (celltext->extra_attrs); pango_attr_list_unref (celltext->extra_attrs);
celltext->extra_attrs = g_value_get_boxed (value); celltext->extra_attrs = g_value_get_boxed (value);
pango_attr_list_ref (celltext->extra_attrs); if (celltext->extra_attrs)
pango_attr_list_ref (celltext->extra_attrs);
break; break;
case PROP_MARKUP: case PROP_MARKUP:
{ {