+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
+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.
+
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
return TRUE;
}
-GdkScratchImageInfo *
+static GdkScratchImageInfo *
scratch_image_info_for_depth (gint depth)
{
GSList *tmp_list;
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,
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");
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;
}
/* 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;
/* 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);
/* 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;
}
#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);
GTK_WIDGET_CLASS (parent_class)->unmap (widget);
}
-gint
+static gint
animation_timeout (gpointer data)
{
GtkImage *image;
}
-void
+static void
draw_thin_shadow (GtkStyle *style,
GdkWindow *window,
GtkStateType state,
}
}
-void
+static void
draw_spin_entry_shadow (GtkStyle *style,
GdkWindow *window,
GtkStateType state,
gpointer data;
};
-GtkUnicodeMenuEntry bidi_menu_entries[] = {
+static GtkUnicodeMenuEntry bidi_menu_entries[] = {
{ N_("LRM _Left-to-right mark"), 0x200E },
{ N_("RLM _Right-to-left mark"), 0x200F },
{ N_("LRE Left-to-right _embedding"), 0x202A },