~ubuntu-branches/ubuntu/oneiric/gdm3/oneiric

« back to all changes in this revision

Viewing changes to gui/simple-greeter/gdm-clock-widget.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2010-03-25 20:02:20 UTC
  • Revision ID: james.westby@ubuntu.com-20100325200220-12cap62s6p304nuh
Tags: upstream-2.29.92
ImportĀ upstreamĀ versionĀ 2.29.92

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
2
 *
 
3
 * Copyright (C) 2008 Red Hat, Inc.
 
4
 * Copyright (C) 2007 Jon McCann <mccann@jhu.edu>
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
19
 *
 
20
 *  Written by: Ray Strode <rstrode@redhat.com>
 
21
 *              Jon McCann <mccann@jhu.edu>
 
22
 */
 
23
 
 
24
#ifndef __GDM_CLOCK_WIDGET_H
 
25
#define __GDM_CLOCK_WIDGET_H
 
26
 
 
27
#include <glib-object.h>
 
28
 
 
29
#include <gtk/gtk.h>
 
30
 
 
31
G_BEGIN_DECLS
 
32
 
 
33
#define GDM_TYPE_CLOCK_WIDGET         (gdm_clock_widget_get_type ())
 
34
#define GDM_CLOCK_WIDGET(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GDM_TYPE_CLOCK_WIDGET, GdmClockWidget))
 
35
#define GDM_CLOCK_WIDGET_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), GDM_TYPE_CLOCK_WIDGET, GdmClockWidgetClass))
 
36
#define GDM_IS_CLOCK_WIDGET(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDM_TYPE_CLOCK_WIDGET))
 
37
#define GDM_IS_CLOCK_WIDGET_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), GDM_TYPE_CLOCK_WIDGET))
 
38
#define GDM_CLOCK_WIDGET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDM_TYPE_CLOCK_WIDGET, GdmClockWidgetClass))
 
39
 
 
40
typedef struct GdmClockWidgetPrivate GdmClockWidgetPrivate;
 
41
 
 
42
typedef struct
 
43
{
 
44
        GtkAlignment           parent;
 
45
        GdmClockWidgetPrivate *priv;
 
46
} GdmClockWidget;
 
47
 
 
48
typedef struct
 
49
{
 
50
        GtkAlignmentClass              parent_class;
 
51
} GdmClockWidgetClass;
 
52
 
 
53
GType                  gdm_clock_widget_get_type               (void);
 
54
GtkWidget *            gdm_clock_widget_new                    (void);
 
55
 
 
56
#endif /* __GDM_CLOCK_WIDGET_H */