diff options
author | Benjamin Otte <otte@redhat.com> | 2013-04-09 13:25:31 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-04-15 15:43:26 +0200 |
commit | 839f402191a82a1129c7bda78f7c471da1766cf5 (patch) | |
tree | 8195e66cf1340c8fd1690942bfe9eb4c57f2b79d /gdk/gdkdisplaymanagerprivate.h | |
parent | ad764c8a58579c6f0427c3584b00530a32001303 (diff) | |
download | gtk+-839f402191a82a1129c7bda78f7c471da1766cf5.tar.gz |
displaymanager: Handle the default display
... instead of having every backend do it on their own.
Diffstat (limited to 'gdk/gdkdisplaymanagerprivate.h')
-rw-r--r-- | gdk/gdkdisplaymanagerprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkdisplaymanagerprivate.h b/gdk/gdkdisplaymanagerprivate.h index fade4d6a7c..547ea71eca 100644 --- a/gdk/gdkdisplaymanagerprivate.h +++ b/gdk/gdkdisplaymanagerprivate.h @@ -31,6 +31,8 @@ typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; struct _GdkDisplayManager { GObject parent_instance; + + GdkDisplay *default_display; }; struct _GdkDisplayManagerClass @@ -38,7 +40,6 @@ struct _GdkDisplayManagerClass GObjectClass parent_class; GSList * (*list_displays) (GdkDisplayManager *manager); - GdkDisplay * (*get_default_display) (GdkDisplayManager *manager); void (*set_default_display) (GdkDisplayManager *manager, GdkDisplay *display); GdkDisplay * (*open_display) (GdkDisplayManager *manager, |