summaryrefslogtreecommitdiffstats
path: root/arabic/katoob/files
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-02 19:53:44 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-02 19:53:44 +0800
commit573a3817863b0355f7e3da100c0a1d42f3d9d718 (patch)
tree92e9f188090663d2e3e1ab734d51aefd58f9bf11 /arabic/katoob/files
parentc67c217667db5f337a8b5c3177cb7594daf01f90 (diff)
downloadmarcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.tar
marcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.tar.gz
marcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.tar.bz2
marcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.tar.lz
marcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.tar.xz
marcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.tar.zst
marcuscom-ports-573a3817863b0355f7e3da100c0a1d42f3d9d718.zip
Move to the right dir
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8740 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'arabic/katoob/files')
-rw-r--r--arabic/katoob/files/patch-src-conf.c10
-rw-r--r--arabic/katoob/files/patch-src-init.c21
-rw-r--r--arabic/katoob/files/patch-src-katoob.h14
-rw-r--r--arabic/katoob/files/patch-src-search.c14
4 files changed, 59 insertions, 0 deletions
diff --git a/arabic/katoob/files/patch-src-conf.c b/arabic/katoob/files/patch-src-conf.c
new file mode 100644
index 000000000..26604b1e6
--- /dev/null
+++ b/arabic/katoob/files/patch-src-conf.c
@@ -0,0 +1,10 @@
+--- src/conf.c Tue Aug 26 07:54:35 2003
++++ src/conf.c.patch Mon May 24 16:57:43 2004
+@@ -798,6 +798,7 @@
+ if (!fp)
+ {
+ g_warning ("Can't open the printing configuration file.");
++ return;
+ }
+
+ fprintf (fp, "font_family = %s\n", encode_font (PConf->font_family));
diff --git a/arabic/katoob/files/patch-src-init.c b/arabic/katoob/files/patch-src-init.c
new file mode 100644
index 000000000..7bff8d026
--- /dev/null
+++ b/arabic/katoob/files/patch-src-init.c
@@ -0,0 +1,21 @@
+--- src/init.c Tue Aug 26 07:54:35 2003
++++ /home/samy/development/katoob/src/init.c Thu Aug 28 00:36:48 2003
+@@ -101,7 +101,18 @@
+ katoob->xkb_grps[i] =
+ XGetAtomName (GDK_DISPLAY (), kbinfo->names->groups[i]);
+ }
++ else
++ {
++ katoob->xkb_grps[i] = NULL;
++ }
+ }
++ }
++
++/* Let's NULL all the remaining array. */
++ while (grpnum < XkbNumKbdGroups)
++ {
++ katoob->xkb_grps[grpnum] = NULL;
++ ++grpnum;
+ }
+
+ XkbGetControls (GDK_DISPLAY (), XkbAllControlsMask, kbinfo);
diff --git a/arabic/katoob/files/patch-src-katoob.h b/arabic/katoob/files/patch-src-katoob.h
new file mode 100644
index 000000000..71fe915e9
--- /dev/null
+++ b/arabic/katoob/files/patch-src-katoob.h
@@ -0,0 +1,14 @@
+--- src/katoob.h.orig Thu May 20 12:44:35 2004
++++ src/katoob.h Thu May 20 12:44:48 2004
+@@ -25,11 +25,6 @@
+ #ifndef __KATOOB_H__
+ #define __KATOOB_H__
+
+-#define G_DISABLE_DEPRECATED 1
+-#define GDK_DISABLE_DEPRECATED 1
+-#define GDK_PIXBUF_DISABLE_DEPRECATED 1
+-#define GTK_DISABLE_DEPRECATED 1
+-
+ #include <gtk/gtk.h>
+ #include "encodings.h"
+ #ifdef ENABLE_HIGHLIGHT
diff --git a/arabic/katoob/files/patch-src-search.c b/arabic/katoob/files/patch-src-search.c
new file mode 100644
index 000000000..b9f3b63c7
--- /dev/null
+++ b/arabic/katoob/files/patch-src-search.c
@@ -0,0 +1,14 @@
+--- src/search.c Tue Aug 26 07:54:37 2003
++++ src/search.c.patch Mon May 24 17:07:16 2004
+@@ -266,9 +266,8 @@
+ tmp = katoob_document_get_last_replaced (doc);
+ if ((tmp) && (replace))
+ {
+- gtk_entry_set_text (GTK_ENTRY (entry2), g_strdup (tmp));
+- g_free (tmp);
+- tmp = NULL;
++ gtk_entry_set_text (GTK_ENTRY (entry2), tmp);
++ tmp = NULL;
+ }
+ }
+