diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-17 16:22:21 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-17 16:22:21 -0500 |
commit | 1ec93bdda6e8e6e0dfd06a9a74d1fb0265ab760f (patch) | |
tree | 325b35c83db579a0c9b624f60dfc1991af2ac884 /gdk/gdkevents.c | |
parent | 4865c3273a5063e1c0d6e52fe731d7bba7d06323 (diff) | |
download | gtk+-1ec93bdda6e8e6e0dfd06a9a74d1fb0265ab760f.tar.gz |
gdk: Move code around
Move the gdk_display functions to gdkdisplay.c.
They are misplaced in gdkevents.c.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r-- | gdk/gdkevents.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 32e7c506ba..6bfd25a49c 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -2205,43 +2205,6 @@ gdk_synthesize_window_state (GdkWindow *window, _gdk_set_window_state (window, (window->state | set_flags) & ~unset_flags); } -/** - * gdk_display_set_double_click_time: - * @display: a #GdkDisplay - * @msec: double click time in milliseconds (thousandths of a second) - * - * Sets the double click time (two clicks within this time interval - * count as a double click). Applications should not set this, it is a global - * user-configured setting. - * - * Since: 2.2 - **/ -void -gdk_display_set_double_click_time (GdkDisplay *display, - guint msec) -{ - display->double_click_time = msec; -} - -/** - * gdk_display_set_double_click_distance: - * @display: a #GdkDisplay - * @distance: distance in pixels - * - * Sets the double click distance (two clicks within this distance - * count as a double click). See also gdk_display_set_double_click_time(). - * Applications should not set this, it is a global - * user-configured setting. - * - * Since: 2.4 - **/ -void -gdk_display_set_double_click_distance (GdkDisplay *display, - guint distance) -{ - display->double_click_distance = distance; -} - G_DEFINE_BOXED_TYPE (GdkEvent, gdk_event, gdk_event_copy, gdk_event_free) |