aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-05-01 14:13:45 +0200
committerThomas White <taw@bitwiz.me.uk>2019-05-01 14:13:45 +0200
commitcb978cae87ab7897717818fc1a25d99216a55854 (patch)
treec532565dfda45bbb52aa3323bdb7a7670dd82ada
parentd48a6529e76eee80ed7ee476a2e01c94ce960163 (diff)
Move declarations
-rw-r--r--src/stylesheet_editor.c4
1 files changed, 2 insertions, 2 deletions
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,