Blame modules/other/gail/gailcalendar.c

Packit Service fb6fa5
/* GAIL - The GNOME Accessibility Implementation Library
Packit Service fb6fa5
 * Copyright 2001 Sun Microsystems Inc.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is free software; you can redistribute it and/or
Packit Service fb6fa5
 * modify it under the terms of the GNU Lesser General Public
Packit Service fb6fa5
 * License as published by the Free Software Foundation; either
Packit Service fb6fa5
 * version 2 of the License, or (at your option) any later version.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is distributed in the hope that it will be useful,
Packit Service fb6fa5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fb6fa5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service fb6fa5
 * Lesser General Public License for more details.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * You should have received a copy of the GNU Lesser General Public
Packit Service fb6fa5
 * License along with this library; if not, write to the
Packit Service fb6fa5
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit Service fb6fa5
 * Boston, MA 02111-1307, USA.
Packit Service fb6fa5
 */
Packit Service fb6fa5
Packit Service fb6fa5
#include "config.h"
Packit Service fb6fa5
Packit Service fb6fa5
#include <gtk/gtk.h>
Packit Service fb6fa5
#include "gailcalendar.h"
Packit Service fb6fa5
Packit Service fb6fa5
static void         gail_calendar_class_init          (GailCalendarClass *klass);
Packit Service fb6fa5
static void         gail_calendar_init                (GailCalendar      *calendar);
Packit Service fb6fa5
static void         gail_calendar_initialize          (AtkObject         *accessible,
Packit Service fb6fa5
                                                       gpointer           data);
Packit Service fb6fa5
Packit Service fb6fa5
G_DEFINE_TYPE (GailCalendar, gail_calendar, GAIL_TYPE_WIDGET)
Packit Service fb6fa5
Packit Service fb6fa5
static void
Packit Service fb6fa5
gail_calendar_class_init (GailCalendarClass *klass)
Packit Service fb6fa5
{
Packit Service fb6fa5
  AtkObjectClass *atk_object_class = ATK_OBJECT_CLASS (klass);
Packit Service fb6fa5
Packit Service fb6fa5
  atk_object_class->initialize = gail_calendar_initialize;
Packit Service fb6fa5
}
Packit Service fb6fa5
Packit Service fb6fa5
static void
Packit Service fb6fa5
gail_calendar_init (GailCalendar *calendar)
Packit Service fb6fa5
{
Packit Service fb6fa5
}
Packit Service fb6fa5
Packit Service fb6fa5
static void
Packit Service fb6fa5
gail_calendar_initialize (AtkObject *accessible,
Packit Service fb6fa5
                          gpointer  data)
Packit Service fb6fa5
{
Packit Service fb6fa5
  ATK_OBJECT_CLASS (gail_calendar_parent_class)->initialize (accessible, data);
Packit Service fb6fa5
Packit Service fb6fa5
  accessible->role = ATK_ROLE_CALENDAR;
Packit Service fb6fa5
}