gtk+ r20389 - in branches/gtk-2-12: . gdk/win32
- From: bratsche svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20389 - in branches/gtk-2-12: . gdk/win32
- Date: Sun, 15 Jun 2008 00:02:22 +0000 (UTC)
Author: bratsche
Date: Sun Jun 15 00:02:22 2008
New Revision: 20389
URL: http://svn.gnome.org/viewvc/gtk+?rev=20389&view=rev
Log:
2008-06-14 Cody Russell <bratsche gnome org>
Merge from trunk:
* 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)
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/gdk/win32/gdkselection-win32.c
Modified: branches/gtk-2-12/gdk/win32/gdkselection-win32.c
==============================================================================
--- branches/gtk-2-12/gdk/win32/gdkselection-win32.c (original)
+++ branches/gtk-2-12/gdk/win32/gdkselection-win32.c Sun Jun 15 00:02:22 2008
@@ -1028,7 +1028,7 @@
gint n_targets,
GdkAtom *targets)
{
- HWND hwnd;
+ HWND hwnd = NULL;
guint formatid;
gint i;
GSList *convertable_formats, *format;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]