diff options
-rw-r--r-- | docs/reference/gdk/gdk4-sections.txt | 2 | ||||
-rw-r--r-- | gdk/gdk-private.h | 5 | ||||
-rw-r--r-- | gdk/gdkdisplay.c | 23 | ||||
-rw-r--r-- | gdk/gdkdisplay.h | 7 | ||||
-rw-r--r-- | gtk/gtksettings.c | 1 |
5 files changed, 6 insertions, 32 deletions
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index daef79375d..424c283cb0 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -86,8 +86,6 @@ gdk_display_get_event gdk_display_peek_event gdk_display_put_event gdk_display_has_pending -gdk_display_set_double_click_time -gdk_display_set_double_click_distance gdk_display_is_rgba gdk_display_is_composited gdk_display_supports_cursor_color diff --git a/gdk/gdk-private.h b/gdk/gdk-private.h index 0c7ca6681f..179da76163 100644 --- a/gdk/gdk-private.h +++ b/gdk/gdk-private.h @@ -41,4 +41,9 @@ GObject * gdk_event_get_user_data (const GdkEvent *event); guint32 gdk_display_get_last_seen_time (GdkDisplay *display); +void gdk_display_set_double_click_time (GdkDisplay *display, + guint msec); +void gdk_display_set_double_click_distance (GdkDisplay *display, + guint distance); + #endif /* __GDK__PRIVATE_H__ */ diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index e4a19e1f7a..5232fe335a 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -2025,17 +2025,6 @@ gdk_display_get_last_seen_time (GdkDisplay *display) return GDK_CURRENT_TIME; } -/** - * 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) @@ -2043,18 +2032,6 @@ gdk_display_set_double_click_time (GdkDisplay *display, 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) diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h index d8aad24a89..cf82ec214d 100644 --- a/gdk/gdkdisplay.h +++ b/gdk/gdkdisplay.h @@ -78,13 +78,6 @@ GDK_AVAILABLE_IN_ALL gboolean gdk_display_has_pending (GdkDisplay *display); GDK_AVAILABLE_IN_ALL -void gdk_display_set_double_click_time (GdkDisplay *display, - guint msec); -GDK_AVAILABLE_IN_ALL -void gdk_display_set_double_click_distance (GdkDisplay *display, - guint distance); - -GDK_AVAILABLE_IN_ALL GdkDisplay *gdk_display_get_default (void); GDK_AVAILABLE_IN_ALL diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index ce7de59ff0..f0c6be958f 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -34,6 +34,7 @@ #include "gtktypebuiltins.h" #include "gtkversion.h" #include "gtkscrolledwindow.h" +#include "gdk/gdk-private.h" #ifdef GDK_WINDOWING_X11 #include "x11/gdkx.h" |