diff options
author | Hans Breuer <hans@breuer.org> | 2001-10-28 21:28:51 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2001-10-28 21:28:51 +0000 |
commit | 93f12bd6d46a38717e4d3358311c0b6024609b16 (patch) | |
tree | 71a12b0433b01d4fcbfb43a7628f5f6104a98ae8 /gdk/win32/gdkfont-win32.c | |
parent | a20c8a435e438178f4a4b5d091bc6914b21537dc (diff) | |
download | gdk-pixbuf-93f12bd6d46a38717e4d3358311c0b6024609b16.tar.gz |
static correct-ness, underscore prefixing of library internal functions
2001-10-28 Hans Breuer <hans@breuer.org>
* gdk/gdk.c gdk/gdkevents.c
gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c
gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c
gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c
gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c
gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h
gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h :
static correct-ness, underscore prefixing of library internal
functions
(applied the undisputed and the win32 part. Of the latter
I'm probably the one who will change it back again, if Owen
decides that the Gdk*Impl types should not be private to Gdk)
* gdk/gdk.def : added the remaining exported functions
Diffstat (limited to 'gdk/win32/gdkfont-win32.c')
-rw-r--r-- | gdk/win32/gdkfont-win32.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdk/win32/gdkfont-win32.c b/gdk/win32/gdkfont-win32.c index 16056308f..768ffb5cf 100644 --- a/gdk/win32/gdkfont-win32.c +++ b/gdk/win32/gdkfont-win32.c @@ -1791,7 +1791,7 @@ unicode_classify (wchar_t wc) } void -gdk_wchar_text_handle (GdkFont *font, +_gdk_wchar_text_handle (GdkFont *font, const wchar_t *wcstr, int wclen, void (*handler)(GdkWin32SingleFont *, @@ -1812,7 +1812,7 @@ gdk_wchar_text_handle (GdkFont *font, g_assert (private->base.ref_count > 0); - GDK_NOTE (MISC, g_print ("gdk_wchar_text_handle: ")); + GDK_NOTE (MISC, g_print ("_gdk_wchar_text_handle: ")); while (wcp < end) { @@ -1901,14 +1901,14 @@ gdk_text_size (GdkFont *font, /* For single characters, don't try to interpret as UTF-8. */ wcstr[0] = (guchar) text[0]; - gdk_wchar_text_handle (font, wcstr, 1, gdk_text_size_handler, arg); + _gdk_wchar_text_handle (font, wcstr, 1, gdk_text_size_handler, arg); } else { - if ((wlen = gdk_nmbstowchar_ts (wcstr, text, text_length, text_length)) == -1) - g_warning ("gdk_text_size: gdk_nmbstowchar_ts failed"); + if ((wlen = _gdk_win32_nmbstowchar_ts (wcstr, text, text_length, text_length)) == -1) + g_warning ("gdk_text_size: _gdk_win32_nmbstowchar_ts failed"); else - gdk_wchar_text_handle (font, wcstr, wlen, gdk_text_size_handler, arg); + _gdk_wchar_text_handle (font, wcstr, wlen, gdk_text_size_handler, arg); } g_free (wcstr); @@ -1959,7 +1959,7 @@ gdk_text_width_wc (GdkFont *font, arg.total.cx = arg.total.cy = 0; - gdk_wchar_text_handle (font, wcstr, text_length, + _gdk_wchar_text_handle (font, wcstr, text_length, gdk_text_size_handler, &arg); if (sizeof (wchar_t) != sizeof (GdkWChar)) @@ -2008,14 +2008,14 @@ gdk_text_extents (GdkFont *font, if (text_length == 1) { wcstr[0] = (guchar) text[0]; - gdk_wchar_text_handle (font, wcstr, 1, gdk_text_size_handler, &arg); + _gdk_wchar_text_handle (font, wcstr, 1, gdk_text_size_handler, &arg); } else { - if ((wlen = gdk_nmbstowchar_ts (wcstr, text, text_length, text_length)) == -1) - g_warning ("gdk_text_extents: gdk_nmbstowchar_ts failed"); + if ((wlen = _gdk_win32_nmbstowchar_ts (wcstr, text, text_length, text_length)) == -1) + g_warning ("gdk_text_extents: _gdk_win32_nmbstowchar_ts failed"); else - gdk_wchar_text_handle (font, wcstr, wlen, gdk_text_size_handler, &arg); + _gdk_wchar_text_handle (font, wcstr, wlen, gdk_text_size_handler, &arg); } g_free (wcstr); @@ -2079,7 +2079,7 @@ gdk_text_extents_wc (GdkFont *font, arg.total.cx = arg.total.cy = 0; - gdk_wchar_text_handle (font, wcstr, text_length, + _gdk_wchar_text_handle (font, wcstr, text_length, gdk_text_size_handler, &arg); if (sizeof (wchar_t) != sizeof (GdkWChar)) |