Logo Search packages:      
Sourcecode: gnome-session version File versions

gsm-typebuiltins.c

/* Generated data (by glib-mkenums) */

#include <glib-object.h>
#include "gsm-typebuiltins.h"


/* enumerations from "../gnome-session/gsm-protocol.h" */
#include "../gnome-session/gsm-protocol.h"
static const GEnumValue _gsm_state_values[] = {
  { GSM_INACTIVE, "GSM_INACTIVE", "inactive" },
  { GSM_START, "GSM_START", "start" },
  { GSM_CONNECTED, "GSM_CONNECTED", "connected" },
  { GSM_SAVE, "GSM_SAVE", "save" },
  { GSM_UNKNOWN, "GSM_UNKNOWN", "unknown" },
  { GSM_NSTATES, "GSM_NSTATES", "nstates" },
  { 0, NULL, NULL }
};

GType
gsm_state_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GsmState", _gsm_state_values);

  return type;
}

static const GEnumValue _gsm_style_values[] = {
  { GSM_NORMAL, "GSM_NORMAL", "normal" },
  { GSM_RESPAWN, "GSM_RESPAWN", "respawn" },
  { GSM_TRASH, "GSM_TRASH", "trash" },
  { GSM_SETTINGS, "GSM_SETTINGS", "settings" },
  { GSM_NSTYLES, "GSM_NSTYLES", "nstyles" },
  { 0, NULL, NULL }
};

GType
gsm_style_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GsmStyle", _gsm_style_values);

  return type;
}


/* Generated data ends here */


Generated by  Doxygen 1.6.0   Back to index