Back to index

lightdm  1.3.2
Classes | Defines | Functions
xserver-remote.h File Reference
#include "xserver.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XServerRemote
struct  XServerRemoteClass

Defines

#define XSERVER_REMOTE_TYPE   (xserver_remote_get_type())
#define XSERVER_REMOTE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), XSERVER_REMOTE_TYPE, XServerRemote))

Functions

GType xserver_remote_get_type (void)
XServerRemotexserver_remote_new (const gchar *hostname, guint number, XAuthority *authority)

Class Documentation

struct XServerRemote

Definition at line 22 of file xserver-remote.h.

Collaboration diagram for XServerRemote:
Class Members
XServer parent_instance
struct XServerRemoteClass

Definition at line 27 of file xserver-remote.h.

Collaboration diagram for XServerRemoteClass:
Class Members
XServerClass parent_class

Define Documentation

#define XSERVER_REMOTE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), XSERVER_REMOTE_TYPE, XServerRemote))

Definition at line 20 of file xserver-remote.h.

Definition at line 19 of file xserver-remote.h.


Function Documentation

GType xserver_remote_get_type ( void  )
XServerRemote* xserver_remote_new ( const gchar *  hostname,
guint  number,
XAuthority authority 
)

Definition at line 19 of file xserver-remote.c.

{
    XServerRemote *self = g_object_new (XSERVER_REMOTE_TYPE, NULL);
    gchar *name;

    xserver_set_hostname (XSERVER (self), hostname);
    xserver_set_display_number (XSERVER (self), number);
    xserver_set_authority (XSERVER (self), authority);

    name = g_strdup_printf ("x-%s-%d", hostname, number);
    display_server_set_name (DISPLAY_SERVER (self), name);
    g_free (name);

    return self;
}

Here is the call graph for this function:

Here is the caller graph for this function: