[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#529172: icondir patch



Okay, regarding my previous post where I posted a replacement patch for
01-icondir.patch, it seems I left out the trailing / in
/usr/share/icons/gapcmon. Here's a new patch to solve that issue.

-- 
Kind regards,
Loong Jin
Author: Daniel Baumann <daniel@debian.org>
Description: Moving icons to private directory.

Index: gapcmon-0.8.9/src/gapcmon.c
===================================================================
--- gapcmon-0.8.9.orig/src/gapcmon.c	2008-07-14 09:40:45.000000000 +0800
+++ gapcmon-0.8.9/src/gapcmon.c	2011-01-12 21:07:53.422750267 +0800
@@ -4123,7 +4123,7 @@
    g_return_val_if_fail(pcfg != NULL, FALSE);
 
    /* build system path for icons */
-   pch_4 = g_strconcat (ICON_DIR, "/share/pixmaps/", NULL);
+   pch_4 = "/usr/share/icons/gapcmon/";
 
    i_x = 0;
    while (i_x == 0) {
@@ -4156,7 +4156,6 @@
    if (i_x == 0) {
       gapc_util_log_app_msg("gapc_util_load_icons", "Unable to find icons",
          "--load failed!");
-      g_free (pch_4);
       return FALSE;
    }
 
@@ -4198,7 +4197,6 @@
       }
    }
 
-   g_free (pch_4);
    return b_rc;
 }
 

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: