diff options
author | Mark McLoughlin <mark@skynet.ie> | 2002-01-31 15:48:58 +0000 |
---|---|---|
committer | Mark McLoughlin <mmclouglin@src.gnome.org> | 2002-01-31 15:48:58 +0000 |
commit | 60dd9e54771725febb82d14c740cfe282a54961b (patch) | |
tree | 4e5fd9aed73b62bda214494cbb3344f290e75e42 /gdk | |
parent | bb3ddb39f6a6cd272ebc61c778c19427196351bb (diff) | |
download | gdk-pixbuf-60dd9e54771725febb82d14c740cfe282a54961b.tar.gz |
make static.
2002-01-31 Mark McLoughlin <mark@skynet.ie>
* gdk/gdkimage.c: (scratch_image_info_for_depth): make static.
* gdk/x11/gdkimage-x11.c: (get_full_image): ditto.
* gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device):
renamed from gxid_(claim|release)_device.
* gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window),
(_gdk_input_disable_window): upd for gxid change.
* gtk/gtkimage.c: (animation_timeout): make static.
* gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make
static.
* gtk/gtktextutil.c: (bidi_menu_entries): make static.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkimage.c | 2 | ||||
-rw-r--r-- | gdk/x11/gdkimage-x11.c | 2 | ||||
-rw-r--r-- | gdk/x11/gdkinput-gxi.c | 12 | ||||
-rw-r--r-- | gdk/x11/gxid_lib.c | 8 | ||||
-rw-r--r-- | gdk/x11/gxid_lib.h | 4 |
5 files changed, 14 insertions, 14 deletions
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c index e748d8f52..e4389eb9b 100644 --- a/gdk/gdkimage.c +++ b/gdk/gdkimage.c @@ -220,7 +220,7 @@ allocate_scratch_images (GdkScratchImageInfo *info, return TRUE; } -GdkScratchImageInfo * +static GdkScratchImageInfo * scratch_image_info_for_depth (gint depth) { GSList *tmp_list; diff --git a/gdk/x11/gdkimage-x11.c b/gdk/x11/gdkimage-x11.c index 1ce5ca1d8..c1de3d2a3 100644 --- a/gdk/x11/gdkimage-x11.c +++ b/gdk/x11/gdkimage-x11.c @@ -420,7 +420,7 @@ gdk_image_new (GdkImageType type, return _gdk_image_new_for_depth (type, visual, width, height, -1); } -GdkImage* +static GdkImage* get_full_image (GdkDrawable *drawable, gint src_x, gint src_y, diff --git a/gdk/x11/gdkinput-gxi.c b/gdk/x11/gdkinput-gxi.c index aecb850be..44e3acdd9 100644 --- a/gdk/x11/gdkinput-gxi.c +++ b/gdk/x11/gdkinput-gxi.c @@ -365,9 +365,9 @@ _gdk_input_enable_window (GdkWindow *window, GdkDevicePrivate *gdkdev) if (!gdkdev->claimed) { - if (gxid_claim_device(_gdk_input_gxid_host, _gdk_input_gxid_port, - gdkdev->deviceid, - GDK_WINDOW_XWINDOW(window), FALSE) != + if (_gxid_claim_device(_gdk_input_gxid_host, _gdk_input_gxid_port, + gdkdev->deviceid, + GDK_WINDOW_XWINDOW(window), FALSE) != GXID_RETURN_OK) { g_warning("Could not get device (is gxid running?)\n"); @@ -394,9 +394,9 @@ _gdk_input_disable_window (GdkWindow *window, GdkDevicePrivate *gdkdev) if (gdkdev->claimed) { - gxid_release_device(_gdk_input_gxid_host, _gdk_input_gxid_port, - gdkdev->deviceid, - GDK_WINDOW_XWINDOW(window)); + _gxid_release_device(_gdk_input_gxid_host, _gdk_input_gxid_port, + gdkdev->deviceid, + GDK_WINDOW_XWINDOW(window)); gdkdev->claimed = FALSE; } diff --git a/gdk/x11/gxid_lib.c b/gdk/x11/gxid_lib.c index 0c2a73bbf..8394b0d77 100644 --- a/gdk/x11/gxid_lib.c +++ b/gdk/x11/gxid_lib.c @@ -85,7 +85,7 @@ gxid_send_message(char *host, int port, GxidMessage *msg) /* claim a device. If exclusive, device is claimed exclusively */ int -gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, +_gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, int exclusive) { GxidClaimDevice msg; @@ -100,7 +100,7 @@ gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, /* release a device/window pair */ int -gxid_release_device(char *host, int port, GxidU32 device, GxidU32 window) +_gxid_release_device(char *host, int port, GxidU32 device, GxidU32 window) { GxidReleaseDevice msg; msg.type = htonl(GXID_RELEASE_DEVICE); @@ -115,8 +115,8 @@ gxid_release_device(char *host, int port, GxidU32 device, GxidU32 window) /* Some compilers don't like empty source files */ int -gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, - int exclusive) +_gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, + int exclusive) { return 0; } diff --git a/gdk/x11/gxid_lib.h b/gdk/x11/gxid_lib.h index 6a7103bbe..0f0d141a5 100644 --- a/gdk/x11/gxid_lib.h +++ b/gdk/x11/gxid_lib.h @@ -1,6 +1,6 @@ #include "gxid_proto.h" -int gxid_claim_device(char *host, int port, +int _gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, int exclusive); -int gxid_release_device(char *host, int port, GxidU32 device, +int _gxid_release_device(char *host, int port, GxidU32 device, GxidU32 window); |