[rhythmbox] display-page-tree: fix uninitialized variable use (bug #634029)
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] display-page-tree: fix uninitialized variable use (bug #634029)
- Date: Fri, 5 Nov 2010 01:06:18 +0000 (UTC)
commit 2e863ac81f1f30378e3f52d2efefcfc28701e90d
Author: Ryan Hughes <ryan iheartryan com>
Date: Fri Nov 5 11:05:21 2010 +1000
display-page-tree: fix uninitialized variable use (bug #634029)
sources/rb-display-page-tree.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/sources/rb-display-page-tree.c b/sources/rb-display-page-tree.c
index 792fa9c..0827f45 100644
--- a/sources/rb-display-page-tree.c
+++ b/sources/rb-display-page-tree.c
@@ -457,7 +457,6 @@ emit_show_popup (GtkTreeView *treeview,
{
GtkTreeIter iter;
RBDisplayPage *page;
- gboolean ret;
if (!gtk_tree_selection_get_selected (gtk_tree_view_get_selection (treeview),
NULL, &iter))
@@ -474,7 +473,7 @@ emit_show_popup (GtkTreeView *treeview,
rb_display_page_show_popup (page);
g_object_unref (page);
- return ret;
+ return TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]