summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/patches/patch-ad
blob: 96bdb5aeaffe3bc032ee55633584450b5074e513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ad,v 1.5 2007/10/14 08:32:19 adam Exp $

--- src/if/props.tpl.orig	2007-07-07 06:21:34.000000000 +0200
+++ src/if/props.tpl
@@ -510,7 +510,7 @@ FOR prop =][=
         (sprintf "%s_choices" (. prop-var))=];[=
 
     = string =]
-    [=(. current-prop)=].type               = PROP_TYPE_STRING;
+    [=(. current-prop)=].type               = gg_PROP_TYPE_STRING;
     [=(. current-prop)=].data.string.def    = [=(. prop-def-var)=];
     [=(. current-prop)=].data.string.value  = [=(. prop-var)=];
     if ([=(. current-prop)=].data.string.def) {
@@ -542,7 +542,7 @@ void
     }
 
     for (n = 0; n < [=(. prop-num)=]; n ++) {
-        if ([=(. prop-set)=]->props[n].type == PROP_TYPE_STRING) {
+        if ([=(. prop-set)=]->props[n].type == gg_PROP_TYPE_STRING) {
 			gchar **p = [=(. prop-array)=][n].data.string.value;
             struct event *e = [=(. prop-array)=][n].ev_changed;
 	    G_FREE_NULL(*p);