]> Pileus Git - ~andy/gtk/commitdiff
make static.
authorMark McLoughlin <mark@skynet.ie>
Thu, 31 Jan 2002 15:48:58 +0000 (15:48 +0000)
committerMark McLoughlin <mmclouglin@src.gnome.org>
Thu, 31 Jan 2002 15:48:58 +0000 (15:48 +0000)
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.

15 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkimage.c
gdk/x11/gdkimage-x11.c
gdk/x11/gdkinput-gxi.c
gdk/x11/gxid_lib.c
gdk/x11/gxid_lib.h
gtk/gtkimage.c
gtk/gtkstyle.c
gtk/gtktextutil.c

index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
--- a/ChangeLog
+++ b/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
index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
@@ -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
index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
@@ -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
index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
@@ -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
index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
@@ -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
index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
@@ -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
index 99d0dbcb15b782cf144fa6d420c83b0ef810b4ef..f640ae1bac9336a5fa93a2981ceda482de61a5ee 100644 (file)
@@ -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
index e748d8f52710e7516d253e2137f151ec57427de2..e4389eb9b76ab6ef1c77252cf6e0a932b2989b7b 100644 (file)
@@ -220,7 +220,7 @@ allocate_scratch_images (GdkScratchImageInfo *info,
   return TRUE;
 }
 
-GdkScratchImageInfo *
+static GdkScratchImageInfo *
 scratch_image_info_for_depth (gint depth)
 {
   GSList *tmp_list;
index 1ce5ca1d8a8e7c47fa2160cbf7654ec1da23d933..c1de3d2a3d5f93e1f30372d79dcd74e7ed748738 100644 (file)
@@ -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,
index aecb850bed91c78d73ab5e76156a53fa15c9256b..44e3acdd97af5b8b790c2e8ef2bdbde45c9d18f9 100644 (file)
@@ -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;
     }
index 0c2a73bbf5dd33b5d775b537d1f07359fa36f012..8394b0d77c38e85a11e000d9f460da41c78e33c9 100644 (file)
@@ -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;
 }
index 6a7103bbe06d0222c0aca026857c42a3339f7b50..0f0d141a5fe5a1d1d6ceeae7258677327012eef1 100644 (file)
@@ -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);
index 280a8d772073e55105091a19fd4f585c5b8c7df2..a6f69e7fe91613688c6780ebb5b2a127ebafc494 100644 (file)
@@ -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;
index a88765196a75ad4a4e1f0f365e23d1aee30ecd0a..9348365c9c8c34c710c4b2776ca8a6b230416f06 100644 (file)
@@ -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,
index f6265e670369d683eb3efc8ba44fe74ff55632a6..212b159b697c5e6865cc8e7f50f0286110e333b5 100644 (file)
@@ -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 },