Files
2013-09-26 17:14:40 +02:00

23 lines
638 B
Plaintext

$NetBSD: patch-ac,v 1.1.1.1 2009/01/08 00:22:46 jmcneill Exp $
--- src/gpk-client-run.c.orig 2009-01-06 23:36:55.000000000 -0500
+++ src/gpk-client-run.c
@@ -184,7 +184,7 @@ pk_treeview_add_general_columns (GtkTree
static gboolean
gpk_client_run_add_desktop_file (const gchar *package_id, const gchar *filename)
{
- gboolean ret;
+ gboolean ret = FALSE;
gchar *icon = NULL;
gchar *text = NULL;
gchar *fulltext = NULL;
@@ -194,7 +194,7 @@ gpk_client_run_add_desktop_file (const g
gchar *joint = NULL;
gchar *menu_path = NULL;
GtkTreeIter iter;
- GKeyFile *file;
+ GKeyFile *file = NULL;
PkPackageId *id;
gint weight;