gtk2/gdk
Cosimo Cecchi 036c193fb2 GdkWindow: fix conditional jump depends on uninitialized value error
Those if() blocks don't have any reason being there, as x and y are not
pointers. If the window is destroyed, just set the out values to zero
and return.

As seen in valgrind:

==3306== Conditional jump or move depends on uninitialised value(s)
==3306==    at 0x624C74F: gdk_window_get_root_coords (gdkwindow.c:6933)
==3306==    by 0x5E193C3: gtk_tooltip_show_tooltip (gtktooltip.c:1160)
==3306==    by 0x5E19C05: tooltip_popup_timeout (gtktooltip.c:1282)
==3306==    by 0x623B102: gdk_threads_dispatch (gdk.c:754)
==3306==    by 0x8592F3A: g_timeout_dispatch (gmain.c:3907)
==3306==    by 0x859174C: g_main_context_dispatch (gmain.c:2441)
==3306==    by 0x8591F47: g_main_context_iterate (gmain.c:3089)
==3306==    by 0x8592494: g_main_loop_run (gmain.c:3297)
==3306==    by 0x5D2E501: gtk_main (gtkmain.c:1362)
==3306==    by 0x5C5652F: gtk_application_run_mainloop
(gtkapplication.c:115)
==3306==    by 0x7C47C9D: g_application_run (gapplication.c:1323)
==3306==    by 0x447B5F: main (nautilus-main.c:102)
==3306==  Uninitialised value was created by a stack allocation
==3306==    at 0x624D48A: gdk_window_get_device_position
(gdkwindow.c:4952)
2011-09-28 20:20:19 -04:00
..
broadway Use AM_CPPFLAGS instead the obsolete INCLUDES 2011-07-06 15:58:32 +01:00
quartz quartz: don't filter away directly encoded 24-bit UCS characters 2011-09-28 13:48:52 +02:00
tests Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
wayland wayland: Acquire cairo device during operations that need the GL context 2011-08-22 16:32:06 -04:00
win32 Install gdk/win32 headers 2011-08-15 13:00:14 +03:00
x11 Fix a segfault if the GAppInfo does not have an icon 2011-09-13 16:41:38 +01:00
abicheck.sh Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
COPYING
gdk.c gdk: Use const instead G_CONST_RETURN 2011-06-10 13:07:54 +01:00
gdk.h Remove gdk_spawn functions 2010-12-21 12:07:00 -05:00
gdk.symbols API: add accessors for GdkEvent fields 2011-08-28 19:50:34 -04:00
gdkapplaunchcontext.c Add deprecation guards for deprecated GdkAppLaunchContext API 2010-12-24 17:37:00 -05:00
gdkapplaunchcontext.h Add deprecation guards for deprecated GdkAppLaunchContext API 2010-12-24 17:37:00 -05:00
gdkapplaunchcontextprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkcairo.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkcairo.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkcolor.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkcolor.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkconfig.h.win32 gdk/gdkconfig.h.win32: Make it more up-to-date 2011-02-11 18:07:05 +08:00
gdkcursor.c [GI] Add missing (transfer) annotations 2011-01-20 13:57:18 +01:00
gdkcursor.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkcursorprivate.h GdkCursor: Struct packing improvements 2011-04-12 12:13:55 -04:00
gdkdevice.c GdkDevice: Remove duplicate private function 2011-04-08 16:39:45 +02:00
gdkdevice.h gdk: Use const instead G_CONST_RETURN 2011-06-10 13:07:54 +01:00
gdkdevicemanager.c GdkDevice: Minor improvement to the overview documentation. 2011-02-23 09:37:06 +01:00
gdkdevicemanager.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdevicemanagerprivate.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkdeviceprivate.h GdkDevice: Remove duplicate private function 2011-04-08 16:39:45 +02:00
gdkdisplay.c gdk: Use const instead G_CONST_RETURN 2011-06-10 13:07:54 +01:00
gdkdisplay.h gdk: Use const instead G_CONST_RETURN 2011-06-10 13:07:54 +01:00
gdkdisplaymanager.c Merge branch 'gdk-backend-wayland' 2011-04-12 09:52:44 -04:00
gdkdisplaymanager.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdisplaymanagerprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdisplayprivate.h gdk: Use const instead G_CONST_RETURN 2011-06-10 13:07:54 +01:00
gdkdnd.c Fix a doc typo 2011-01-28 11:10:07 -05:00
gdkdnd.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkdndprivate.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkenumtypes.c.template gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkenumtypes.h.template Remove remaining single-include guards 2010-06-04 19:40:43 -04:00
gdkevents.c Bug 659406 - Abstract what triggers a context menu 2011-09-27 15:45:18 +02:00
gdkevents.h Bug 659406 - Abstract what triggers a context menu 2011-09-27 15:45:18 +02:00
gdkglobals.c gdk: Add GDK_RENDERING environment variable 2011-03-11 02:10:47 +01:00
gdkinternals.h GdkWindow: Struct packing improvements 2011-04-12 12:13:55 -04:00
gdkintl.h Fix distcheck 2010-10-01 20:02:35 -04:00
gdkkeynames.c Implement keyval vfuncs for quartz 2010-12-22 17:47:00 +01:00
gdkkeys.c Bug 659602 - Provide an abstraction for the platform's use of modifier keys 2011-09-27 09:56:25 +02:00
gdkkeys.h Bug 659602 - Provide an abstraction for the platform's use of modifier keys 2011-09-27 09:56:25 +02:00
gdkkeysprivate.h Bug 659602 - Provide an abstraction for the platform's use of modifier keys 2011-09-27 09:56:25 +02:00
gdkkeysyms-compat.h GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeysyms-update.pl GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeysyms.h gdk: Update keysyms list from latest X.org headers 2011-06-06 21:15:53 -04:00
gdkkeyuni.c gdkkeyuni: Fix DEL for binary search 2011-03-16 20:09:13 -04:00
gdkmain.h gdk: Use const instead G_CONST_RETURN 2011-06-10 13:07:54 +01:00
gdkmarshalers.list Bug 631599 - Allow to use arbitrary surfaces for offscreen windows 2010-10-14 13:25:23 +02:00
gdkoffscreenwindow.c Fixed bug #654125 "gdkoffscreenwindow set any impl handlers to null but adhoc gdk_window_set_* do not cope" 2011-07-08 19:27:00 -03:00
gdkpango.c [GI] Mark unintrospectable constructs as (skip) 2011-01-20 13:57:21 +01:00
gdkpango.h API: remove GdkPangoRenderer 2010-08-10 21:02:29 +02:00
gdkpixbuf-drawable.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkpixbuf.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkprivate.h gdk: Remove useless macros from gdkprivate.h 2010-12-02 20:21:05 +01:00
gdkproperty.h Deal with property encoding functions 2010-12-21 12:07:03 -05:00
gdkrectangle.c [GI] Add missing (out) and (array) annotations 2011-01-20 13:57:20 +01:00
gdkrectangle.h Inclusion cleanups in headers 2010-10-14 22:08:53 -04:00
gdkrgba.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkrgba.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkscreen.c Documentation fixes 2011-09-25 21:04:49 -04:00
gdkscreen.h gdk: Remove GdkEventClient 2011-02-01 06:33:02 +01:00
gdkscreenprivate.h GdkScreen: Struct packing improvements 2011-04-12 12:13:55 -04:00
gdkselection.c API: gdk: Make GdkEventSelection.requestor a GdkWindow 2011-02-01 18:51:57 +01:00
gdkselection.h API: gdk: Make GdkEventSelection.requestor a GdkWindow 2011-02-01 18:51:57 +01:00
gdktestutils.h docs: move documentation to inline comments: gdktesting 2010-11-15 04:12:57 +01:00
gdkthreads.h docs: Move documentation to inline comments: gdkthreads 2010-11-15 21:06:35 +01:00
gdktypes.h Bug 659602 - Provide an abstraction for the platform's use of modifier keys 2011-09-27 09:56:25 +02:00
gdkvisual.c [GI] Add missing (out) and (array) annotations 2011-01-20 13:57:20 +01:00
gdkvisual.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkvisualprivate.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkwindow.c GdkWindow: fix conditional jump depends on uninitialized value error 2011-09-28 20:20:19 -04:00
gdkwindow.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkwindowimpl.c gdk: Move window beeps into GdkWindowImpl 2010-12-02 20:21:05 +01:00
gdkwindowimpl.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkx.h gdk: Fix typo 2011-01-11 17:06:49 +01:00
gen-keyname-table.pl
keyname-table.h Add translation entries for more common keysyms 2011-02-04 15:33:36 -05:00
keynames.txt
Makefile.am Ditch some long dead perl cruft 2011-07-23 13:44:45 -04:00
makefile.msc win32: gdk3 resurrection 2011-01-02 13:33:04 +01:00