]> Pileus Git - ~andy/gtk/commit
Use g_filename_to_utf8 to convert the font names Windows gives us from
authorTor Lillqvist <tml@iki.fi>
Thu, 3 Feb 2000 01:19:03 +0000 (01:19 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 3 Feb 2000 01:19:03 +0000 (01:19 +0000)
commite57b1afa2b4c91bcfecef26e4bff5280bd3563de
tree076b0cafc0d859fb263c2cb5f072633849915c94
parente489f9c26c4d41716d09946caa7dbd225b3f2880
Use g_filename_to_utf8 to convert the font names Windows gives us from

2000-02-04  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
g_filename_to_utf8 to convert the font names Windows gives us from
whatever is the default codepage to UTF-8.
(gdk_font_load_internal) Use g_filename_from_utf8 for conversion
in the other direction.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
error in debugging output.

2000-02-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
and height parameters to gdk_window_clear_area(). Not minus one.

2000-02-01  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
g_filename_from_utf8 functions (which were added a moment ago to
GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
size buffers.

* gtk/gtkfilesel.h: Add comment about
gtk_file_selection_get_filename returning the filename in the C
runtime's encoding.

* README.win32
* gdk/gdk.def
* gdk/makefile.{cygwin,msc}
* gtk/gtk.def: Updates.

* gdk/gdkcursor-win32.c: Initialise refcount.
19 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
README.win32
gdk/gdk.def
gdk/makefile.cygwin
gdk/makefile.msc
gdk/win32/gdkcursor-win32.c
gdk/win32/gdkfont-win32.c
gdk/win32/gdkgc-win32.c
gdk/win32/gdkim-win32.c
gdk/win32/gdkwindow-win32.c
gtk/gtk.def
gtk/gtkfilesel.c
gtk/gtkfilesel.h