summaryrefslogtreecommitdiffstats
path: root/src/widgets/font-selector.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-04 02:23:52 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-04 02:23:52 +0000
commitd627dc64423f864c9320c73a52b47836c696bceb (patch)
tree6dd2947cf2adc65ae0afb361e081a1fd0ae31928 /src/widgets/font-selector.cpp
parentFixed path color when changed by Objects Dialog (diff)
parentRemove dom/* code and replace two uses of dom/uri with uri. (diff)
downloadinkscape-d627dc64423f864c9320c73a52b47836c696bceb.tar.gz
inkscape-d627dc64423f864c9320c73a52b47836c696bceb.zip
Merge to trunk
(bzr r13090.1.12)
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