summaryrefslogtreecommitdiff
path: root/community/gsynaptics/build-filename.dpatch
blob: 404e6fab737487a22b33248aa6728b56bc2cc642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh /usr/share/dpatch/dpatch-run
## build-filename.dpatch
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: https://sourceforge.jp/tracker/index.php?func=detail&aid=12568&group_id=1720&atid=6435
## DP: Missing terminating NULL for g_build_filename call.

@DPATCH@
diff -urNad gsynaptics-0.9.14~/src/main.c gsynaptics-0.9.14/src/main.c
--- gsynaptics-0.9.14~/src/main.c	2008-02-28 23:27:28.000000000 +0100
+++ gsynaptics-0.9.14/src/main.c	2008-05-17 08:34:04.000000000 +0200
@@ -690,7 +690,7 @@
 
 	gtk_window_set_default_size (GTK_WINDOW (widget), 400, -1);
 
-	path = g_build_filename (DATADIR "/pixmaps", "touchpad.png", NULL);
+	path = g_build_filename (DATADIR, "pixmaps", "touchpad.png", NULL);
 	if (path)
 	{
 		icon_pixbuf = gdk_pixbuf_new_from_file (path, NULL);