mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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.
This commit is contained in:
parent
bb3ddb39f6
commit
60dd9e5477
19
ChangeLog
19
ChangeLog
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -1,3 +1,22 @@
|
||||
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
|
||||
|
@ -220,7 +220,7 @@ allocate_scratch_images (GdkScratchImageInfo *info,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GdkScratchImageInfo *
|
||||
static GdkScratchImageInfo *
|
||||
scratch_image_info_for_depth (gint depth)
|
||||
{
|
||||
GSList *tmp_list;
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -1164,7 +1164,7 @@ gtk_image_unmap (GtkWidget *widget)
|
||||
GTK_WIDGET_CLASS (parent_class)->unmap (widget);
|
||||
}
|
||||
|
||||
gint
|
||||
static gint
|
||||
animation_timeout (gpointer data)
|
||||
{
|
||||
GtkImage *image;
|
||||
|
@ -2090,7 +2090,7 @@ gtk_default_draw_vline (GtkStyle *style,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
draw_thin_shadow (GtkStyle *style,
|
||||
GdkWindow *window,
|
||||
GtkStateType state,
|
||||
@ -2130,7 +2130,7 @@ draw_thin_shadow (GtkStyle *style,
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
draw_spin_entry_shadow (GtkStyle *style,
|
||||
GdkWindow *window,
|
||||
GtkStateType state,
|
||||
|
@ -42,7 +42,7 @@ struct _GtkTextUtilCallbackInfo
|
||||
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 },
|
||||
|
Loading…
Reference in New Issue
Block a user