diff options
author | Hans Breuer <hans@breuer.org> | 2002-02-10 13:18:51 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2002-02-10 13:18:51 +0000 |
commit | 6d33d1c7e3d9782c22a85ed972c0745db0333791 (patch) | |
tree | 656df1715de144fdf8499fa21a1ec2e83a50be4f /gdk/win32/gdkselection-win32.c | |
parent | f42f2a646e44c917fd0a435a7818d18eb513503d (diff) | |
download | gdk-pixbuf-6d33d1c7e3d9782c22a85ed972c0745db0333791.tar.gz |
don't reduce the scroll rect size by the scroll amount
2002-02-10 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkgeometry-win32.c : don't reduce the scroll
rect size by the scroll amount
* gdk/win32/gdkwindow-win32.c
* gdk/win32/gdkselection-win32.c : added some casts to
make it compile with msvc's strict type checking
* gtk/fnmatch.c : #include <ctype.h> again for tolower
prototype. The fnmatch() code assumes to be in the crt
locale though it is feeded by utf8 strings from gtkfilesel.c
* gtk/gtkfilesel.c : let ->cmpl_text be a strdup managed by
_CompletionDir instead of referencing already freed memory
* gtk/gtktooltips.c (gtk_tooltips_init) : fix typo to
gtk_rc_parse_string (theDefaultTooltipColor) once as it
was intended
* tests/makefile.msc : added more tests
* tests/testgtk.c (create_list) : don't try to load gtkenums.h
from the current directory use ../gtk/gtkenums.h instead
Diffstat (limited to 'gdk/win32/gdkselection-win32.c')
-rw-r--r-- | gdk/win32/gdkselection-win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/win32/gdkselection-win32.c b/gdk/win32/gdkselection-win32.c index c8e6174c8..4a80fef23 100644 --- a/gdk/win32/gdkselection-win32.c +++ b/gdk/win32/gdkselection-win32.c @@ -203,7 +203,7 @@ gdk_selection_owner_get (GdkAtom selection) if (selection == GDK_SELECTION_CLIPBOARD) return NULL; - window = gdk_window_lookup (g_hash_table_lookup (sel_owner_table, selection)); + window = gdk_window_lookup ((GdkNativeWindow) g_hash_table_lookup (sel_owner_table, selection)); GDK_NOTE (DND, (sel_name = gdk_atom_name (selection), @@ -279,7 +279,7 @@ gdk_selection_convert (GdkWindow *requestor, GdkAtom *data = g_new (GdkAtom, 1); *data = GDK_TARGET_STRING; _gdk_selection_property_store (requestor, GDK_SELECTION_TYPE_ATOM, - 32, data, 1 * sizeof (GdkAtom)); + 32, (guchar *) data, 1 * sizeof (GdkAtom)); } else property = GDK_NONE; @@ -566,7 +566,7 @@ gdk_text_property_to_text_list (GdkAtom encoding, if (!list) return 0; - *list = g_new (gchar **, 1); + *list = g_new (gchar *, 1); **list = g_strdup (text); return 1; |