forked from AuroraMiddleware/gtk
quartz: Avoid a screen argument
The screen is never used in _gdk_quartz_screen_get_setting, so drop it.
This commit is contained in:
parent
0f2d7d41f1
commit
c7b5cb8e8e
@ -208,7 +208,7 @@ gdk_quartz_display_get_setting (GdkDisplay *display,
|
||||
const gchar *name,
|
||||
GValue *value)
|
||||
{
|
||||
return _gdk_quartz_screen_get_setting (_gdk_screen, name, value);
|
||||
return _gdk_quartz_get_setting (name, value);
|
||||
}
|
||||
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
#include <gdk/gdkdisplayprivate.h>
|
||||
|
||||
#include "gdkscreen.h"
|
||||
#include "gdkkeysyms.h"
|
||||
#include "gdkquartz.h"
|
||||
#include "gdkquartzdisplay.h"
|
||||
@ -1743,8 +1742,7 @@ _gdk_quartz_display_queue_events (GdkDisplay *display)
|
||||
}
|
||||
|
||||
gboolean
|
||||
_gdk_quartz_screen_get_setting (GdkScreen *screen,
|
||||
const gchar *name,
|
||||
_gdk_quartz_get_setting (const gchar *name,
|
||||
GValue *value)
|
||||
{
|
||||
if (strcmp (name, "gtk-double-click-time") == 0)
|
||||
|
@ -93,8 +93,7 @@ GdkScreen *_gdk_quartz_screen_new (void);
|
||||
void _gdk_quartz_screen_update_window_sizes (GdkScreen *screen);
|
||||
|
||||
/* Screen methods - events */
|
||||
gboolean _gdk_quartz_screen_get_setting (GdkScreen *screen,
|
||||
const gchar *name,
|
||||
gboolean _gdk_quartz_get_setting (const gchar *name,
|
||||
GValue *value);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user