~ubuntu-branches/ubuntu/trusty/sdlpango/trusty

« back to all changes in this revision

Viewing changes to sidebyside_patch/glib2.patch

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2006-09-28 23:50:02 UTC
  • Revision ID: james.westby@ubuntu.com-20060928235002-qn0dl0ktodhmieax
Tags: upstream-0.1.2
ImportĀ upstreamĀ versionĀ 0.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: glib/gwin32.c
 
2
===================================================================
 
3
--- glib/gwin32.c       (revision 100)
 
4
+++ glib/gwin32.c       (revision 101)
 
5
@@ -1223,6 +1223,7 @@
 
6
          return g_strdup (result);
 
7
        }
 
8
       
 
9
+#ifndef SIDEBYSIDE
 
10
       key = g_strconcat ("Software\\", package, NULL);
 
11
       
 
12
       nbytes = 0;
 
13
@@ -1245,7 +1246,7 @@
 
14
 
 
15
       if (reg_key != NULL)
 
16
        RegCloseKey (reg_key);
 
17
-      
 
18
+
 
19
       g_free (key);
 
20
 
 
21
       if (result)
 
22
@@ -1254,6 +1255,7 @@
 
23
          G_UNLOCK (package_dirs);
 
24
          return g_strdup (result);
 
25
        }
 
26
+#endif
 
27
       G_UNLOCK (package_dirs);
 
28
     }
 
29