summaryrefslogtreecommitdiffstats
path: root/src/widgets/font-selector.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-03 21:40:46 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-03 21:40:46 +0000
commite2a8d963d727bd0e6d93ea7f628a9ade542bf564 (patch)
tree8c3b2d77d75bfd9ab347584508f34c40595a34b2 /src/widgets/font-selector.cpp
parentupdate to trunk (diff)
parentcode cleanup (diff)
downloadinkscape-e2a8d963d727bd0e6d93ea7f628a9ade542bf564.tar.gz
inkscape-e2a8d963d727bd0e6d93ea7f628a9ade542bf564.zip
update to trunk
(bzr r11950.1.270)
Diffstat (limited to 'src/widgets/font-selector.cpp')
-rw-r--r--src/widgets/font-selector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp
index 5f9098d44..0e862638c 100644
--- a/src/widgets/font-selector.cpp
+++ b/src/widgets/font-selector.cpp
@@ -295,7 +295,7 @@ static void sp_font_selector_family_select_row(GtkTreeSelection *selection,
// Next get family name with its style list
gchar *family;
- GList *list=0;
+ GList *list=NULL;
gtk_tree_model_get (model, &iter, 0, &family, 1, &list, -1);
// Find best style match for selected family with current style (e.g. of selected text).
@@ -418,7 +418,7 @@ static void sp_font_selector_emit_set (SPFontSelector *fsel)
GtkTreeModel *model_style;
GtkTreeIter iter_family;
GtkTreeIter iter_style;
- char *family=0, *style=0;
+ char *family=NULL, *style=NULL;
//We need to check this here since most GtkTreeModel operations are not atomic
//See GtkListStore documenation, Chapter "Atomic Operations" --mderezynski