summaryrefslogtreecommitdiff
path: root/src/gdk
diff options
context:
space:
mode:
authorscuri <scuri>2009-12-15 19:33:00 +0000
committerscuri <scuri>2009-12-15 19:33:00 +0000
commitd576fbeadc7f52a0b7c63ba0793f8bdcceccc15b (patch)
treeabf9406f4e85cc5e3b6d50be22236d6eba9ff789 /src/gdk
parent2df78db7863840f59d0a1beff5fae7012bce637d (diff)
*** empty log message ***
Diffstat (limited to 'src/gdk')
-rw-r--r--src/gdk/cdgdk.c4
-rw-r--r--src/gdk/cdgdk.h6
2 files changed, 2 insertions, 8 deletions
diff --git a/src/gdk/cdgdk.c b/src/gdk/cdgdk.c
index e0692fc..5a84c6e 100644
--- a/src/gdk/cdgdk.c
+++ b/src/gdk/cdgdk.c
@@ -15,8 +15,8 @@
#include <gdk/gdk.h>
-GdkColor (*cdgdkGetPixel)(cdCtxCanvas *ctxcanvas, unsigned long rgb); /* access to the color table */
-void (*cdgdkGetRGB)(cdCtxCanvas *ctxcanvas, unsigned long pixel,
+static GdkColor (*cdgdkGetPixel)(cdCtxCanvas *ctxcanvas, unsigned long rgb); /* access to the color table */
+static void (*cdgdkGetRGB)(cdCtxCanvas *ctxcanvas, unsigned long pixel,
unsigned char* red,
unsigned char* green,
unsigned char* blue); /* access to the color table */
diff --git a/src/gdk/cdgdk.h b/src/gdk/cdgdk.h
index 82cb25d..86ac7a6 100644
--- a/src/gdk/cdgdk.h
+++ b/src/gdk/cdgdk.h
@@ -69,12 +69,6 @@ struct _cdCtxCanvas {
#define cdCOLOR8TO16(_x) (_x*257) /* 65535/255 = 257 */
#define cdCOLOR16TO8(_x) ((unsigned char)(_x/257))
-extern GdkColor (*cdgdkGetPixel)(cdCtxCanvas *ctxcanvas, unsigned long rgb);
-extern void (*cdxGetRGB)(cdCtxCanvas *ctxcanvas, unsigned long pixel,
- unsigned char* red,
- unsigned char* green,
- unsigned char* blue);
-
cdCtxCanvas *cdgdkCreateCanvas(cdCanvas* canvas, GdkDrawable* wnd, GdkScreen* scr, GdkVisual* vis);
void cdgdkInitTable(cdCanvas* canvas);
void cdgdkKillCanvas(cdCtxCanvas *ctxcanvas);