From cb978cae87ab7897717818fc1a25d99216a55854 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 1 May 2019 14:13:45 +0200 Subject: Move declarations --- src/stylesheet_editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/stylesheet_editor.c b/src/stylesheet_editor.c index 1bc3085..a694f8f 100644 --- a/src/stylesheet_editor.c +++ b/src/stylesheet_editor.c @@ -606,6 +606,8 @@ StylesheetEditor *stylesheet_editor_new(Stylesheet *ss) { StylesheetEditor *se; GtkTreeSelection *sel; + GtkCellRenderer *renderer; + GtkTreeViewColumn *column; se = g_object_new(COLLOQUIUM_TYPE_STYLESHEET_EDITOR, NULL); if ( se == NULL ) return NULL; @@ -613,8 +615,6 @@ StylesheetEditor *stylesheet_editor_new(Stylesheet *ss) se->priv->stylesheet = ss; se->priv->style_name = NULL; - GtkCellRenderer *renderer; - GtkTreeViewColumn *column; renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Element", renderer, "text", SEL_COL_FRIENDLY_NAME, -- cgit v1.2.3