[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [oxygen-gtk/1.4] demo: Free tree path once used.
From: Hugo Pereira Da Costa <hugo () oxygen-icons ! org>
Date: 2014-01-19 19:33:28
Message-ID: E1W4y7c-0003zM-87 () scm ! kde ! org
[Download RAW message or body]
Git commit dd91c0a8fc8a4f7a47dacb3fd0910ebad0afcd30 by Hugo Pereira Da Cost=
a.
Committed on 17/01/2014 at 14:06.
Pushed by hpereiradacosta into branch '1.4'.
Free tree path once used.
M +1 -0 demo/oxygendemodialog.cpp
http://commits.kde.org/oxygen-gtk/dd91c0a8fc8a4f7a47dacb3fd0910ebad0afcd30
diff --git a/demo/oxygendemodialog.cpp b/demo/oxygendemodialog.cpp
index efcfc3a..bd648d3 100644
--- a/demo/oxygendemodialog.cpp
+++ b/demo/oxygendemodialog.cpp
@@ -175,6 +175,7 @@ namespace Oxygen
// select first raw
GtkTreePath *path( gtk_tree_path_new_from_indices(0, -1 ) );
gtk_icon_view_select_path( GTK_ICON_VIEW( iconView ), path );
+ gtk_tree_path_free( path );
=
// keypress signals
_keyPressId.connect( G_OBJECT(_mainWidget), "key-press-event", G_C=
ALLBACK( keyPress ), 0L );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic