]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/x-server.h
Load all users only when really needed
[sojka/lightdm.git] / src / x-server.h
index ef8ce627029c7ea7ff927fc1fa0726533b814e33..d83b93299759d79c642310ecc53beef06931c156 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2010-2011 Robert Ancell.
  * Author: Robert Ancell <robert.ancell@canonical.com>
- * 
+ *
  * This program is free software: you can redistribute it and/or modify it under
  * the terms of the GNU General Public License as published by the Free Software
  * Foundation, either version 3 of the License, or (at your option) any later
@@ -35,6 +35,7 @@ typedef struct
 typedef struct
 {
     DisplayServerClass parent_class;
+    guint (*get_display_number) (XServer *server);
 } XServerClass;
 
 GType x_server_get_type (void);
@@ -43,8 +44,6 @@ void x_server_set_hostname (XServer *server, const gchar *hostname);
 
 gchar *x_server_get_hostname (XServer *server);
 
-void x_server_set_display_number (XServer *server, guint number);
-
 guint x_server_get_display_number (XServer *server);
 
 const gchar *x_server_get_address (XServer *server);