summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNo_name <[email protected]>2015-09-25 11:35:28 +0200
committerNo_name <[email protected]>2015-09-25 11:35:28 +0200
commit2c7a8dc81ff5871d3807f2ec6772fbad290d5066 (patch)
tree38f485442bfd9421b980f08a24be18acea72e16a /src
parent7aafd687aee69acdec49cd28062294c9984b9a2c (diff)
parent7fa47961f8790f2d8f2e83bad66e75bdd63cfaa9 (diff)
downloadmarco-2c7a8dc81ff5871d3807f2ec6772fbad290d5066.tar.bz2
marco-2c7a8dc81ff5871d3807f2ec6772fbad290d5066.tar.xz
Merge pull request #221 from dnk/uninitialized_variable
gtk3: unintialized variable
Diffstat (limited to 'src')
-rw-r--r--src/tools/marco-window-demo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/marco-window-demo.c b/src/tools/marco-window-demo.c
index edff5f71..281905d5 100644
--- a/src/tools/marco-window-demo.c
+++ b/src/tools/marco-window-demo.c
@@ -1248,8 +1248,6 @@ do_appwindow (void)
/* Create the menubar
*/
- contents = gtk_text_view_new ();
-
action_group = gtk_action_group_new ("mainmenu");
gtk_action_group_add_actions (action_group,
menu_items,
@@ -1306,6 +1304,7 @@ do_appwindow (void)
gtk_window_set_default_size (GTK_WINDOW (window),
200, 200);
+ contents = gtk_text_view_new ();
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (contents),
PANGO_WRAP_WORD);