forked from AuroraMiddleware/gtk
Remove gdk_setting_get
This is a minor convenience api, and it is unused.
This commit is contained in:
parent
e99687194a
commit
209f24f962
@ -809,9 +809,6 @@ gdk_event_set_source_device
|
||||
gdk_event_get_device_tool
|
||||
gdk_event_set_device_tool
|
||||
|
||||
<SUBSECTION>
|
||||
gdk_setting_get
|
||||
|
||||
<SUBSECTION Standard>
|
||||
GDK_TYPE_EVENT_MASK
|
||||
GDK_TYPE_EVENT_TYPE
|
||||
|
@ -2318,24 +2318,6 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence,
|
||||
gdk_event_sequence_copy,
|
||||
gdk_event_sequence_free)
|
||||
|
||||
/**
|
||||
* gdk_setting_get:
|
||||
* @name: the name of the setting.
|
||||
* @value: location to store the value of the setting.
|
||||
*
|
||||
* Obtains a desktop-wide setting, such as the double-click time,
|
||||
* for the default screen. See gdk_screen_get_setting().
|
||||
*
|
||||
* Returns: %TRUE if the setting existed and a value was stored
|
||||
* in @value, %FALSE otherwise.
|
||||
**/
|
||||
gboolean
|
||||
gdk_setting_get (const gchar *name,
|
||||
GValue *value)
|
||||
{
|
||||
return gdk_screen_get_setting (gdk_screen_get_default (), name, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_event_get_event_type:
|
||||
* @event: a #GdkEvent
|
||||
|
@ -687,10 +687,6 @@ void gdk_set_show_events (gboolean show_events);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_get_show_events (void);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_setting_get (const gchar *name,
|
||||
GValue *value);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GdkDeviceTool *gdk_event_get_device_tool (const GdkEvent *event);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user