Initialize hwnd to NULL. This fixes OpenClipboard() failure and, according
2008-06-14 Cody Russell <bratsche@gnome.org> * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets): Initialize hwnd to NULL. This fixes OpenClipboard() failure and, according to MSDN docs, associates the open clipboard with the current task. (#378158, reported by Andreas Köhler) svn path=/trunk/; revision=20388
This commit is contained in:
parent
d4ce1fa262
commit
472ea19b4b
@ -1,3 +1,11 @@
|
||||
2008-06-14 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
* gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
|
||||
|
||||
Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
|
||||
according to MSDN docs, associates the open clipboard with the
|
||||
current task. (#378158, reported by Andreas Köhler)
|
||||
|
||||
2008-06-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1028,7 +1028,7 @@ gdk_win32_selection_add_targets (GdkWindow *owner,
|
||||
gint n_targets,
|
||||
GdkAtom *targets)
|
||||
{
|
||||
HWND hwnd;
|
||||
HWND hwnd = NULL;
|
||||
guint formatid;
|
||||
gint i;
|
||||
GSList *convertable_formats, *format;
|
||||
|
Loading…
Reference in New Issue
Block a user