Back to index

libindicator  12.10.0
Functions
indicator-object-enum-types.c File Reference
#include "indicator-object-enum-types.h"
#include "indicator-object.h"

Go to the source code of this file.

Functions

GType indicator_scroll_direction_get_type (void)

Function Documentation

Definition at line 8 of file indicator-object-enum-types.c.

                                           {
  static GType enum_type_id = 0;
  if (G_UNLIKELY (!enum_type_id))
    {
      static const GEnumValue values[] = {
        { INDICATOR_OBJECT_SCROLL_UP, "INDICATOR_OBJECT_SCROLL_UP", "up" },
        { INDICATOR_OBJECT_SCROLL_DOWN, "INDICATOR_OBJECT_SCROLL_DOWN", "down" },
        { INDICATOR_OBJECT_SCROLL_LEFT, "INDICATOR_OBJECT_SCROLL_LEFT", "left" },
        { INDICATOR_OBJECT_SCROLL_RIGHT, "INDICATOR_OBJECT_SCROLL_RIGHT", "right" },
        { 0, NULL, NULL }
      };
      enum_type_id = g_enum_register_static (g_intern_static_string ("IndicatorScrollDirection"), values);
    }
  return enum_type_id;
}