diff options
| author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-03-05 13:08:13 +0100 |
|---|---|---|
| committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-03-05 13:08:13 +0100 |
| commit | 98726a2757f048cc510b186969883816725a5708 (patch) | |
| tree | 65e756cf1e5e80e100a408dfe6e9f7b152030ee5 /shell/clock.h | |
| parent | 0fdc7d88d3b38972b8d2242c981a6e09da4647a3 (diff) | |
| download | graynard-98726a2757f048cc510b186969883816725a5708.tar.gz graynard-98726a2757f048cc510b186969883816725a5708.zip | |
shell: rename widgets to reflect project rename
Diffstat (limited to 'shell/clock.h')
| -rw-r--r-- | shell/clock.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/shell/clock.h b/shell/clock.h index 3de21ea..218c2a8 100644 --- a/shell/clock.h +++ b/shell/clock.h @@ -4,41 +4,41 @@ * Author: Jonny Lamb <jonny.lamb@collabora.co.uk> */ -#ifndef __WESTON_GTK_CLOCK_H__ -#define __WESTON_GTK_CLOCK_H__ +#ifndef __MAYNARD_CLOCK_H__ +#define __MAYNARD_CLOCK_H__ #include <gtk/gtk.h> #include "panel.h" -#define WESTON_GTK_CLOCK_TYPE (weston_gtk_clock_get_type ()) -#define WESTON_GTK_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WESTON_GTK_CLOCK_TYPE, WestonGtkClock)) -#define WESTON_GTK_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WESTON_GTK_CLOCK_TYPE, WestonGtkClockClass)) -#define WESTON_GTK_IS_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WESTON_GTK_CLOCK_TYPE)) -#define WESTON_GTK_IS_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WESTON_GTK_CLOCK_TYPE)) -#define WESTON_GTK_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WESTON_GTK_CLOCK_TYPE, WestonGtkClockClass)) +#define MAYNARD_CLOCK_TYPE (maynard_clock_get_type ()) +#define MAYNARD_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAYNARD_CLOCK_TYPE, MaynardClock)) +#define MAYNARD_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAYNARD_CLOCK_TYPE, MaynardClockClass)) +#define MAYNARD_IS_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAYNARD_CLOCK_TYPE)) +#define MAYNARD_IS_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAYNARD_CLOCK_TYPE)) +#define MAYNARD_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAYNARD_CLOCK_TYPE, MaynardClockClass)) -typedef struct WestonGtkClock WestonGtkClock; -typedef struct WestonGtkClockClass WestonGtkClockClass; -typedef struct WestonGtkClockPrivate WestonGtkClockPrivate; +typedef struct MaynardClock MaynardClock; +typedef struct MaynardClockClass MaynardClockClass; +typedef struct MaynardClockPrivate MaynardClockPrivate; -struct WestonGtkClock +struct MaynardClock { GtkWindow parent; - WestonGtkClockPrivate *priv; + MaynardClockPrivate *priv; }; -struct WestonGtkClockClass +struct MaynardClockClass { GtkWindowClass parent_class; }; -#define WESTON_GTK_CLOCK_WIDTH (WESTON_GTK_PANEL_WIDTH * 2.6) -#define WESTON_GTK_CLOCK_HEIGHT (WESTON_GTK_PANEL_WIDTH * 2) +#define MAYNARD_CLOCK_WIDTH (MAYNARD_PANEL_WIDTH * 2.6) +#define MAYNARD_CLOCK_HEIGHT (MAYNARD_PANEL_WIDTH * 2) -GType weston_gtk_clock_get_type (void) G_GNUC_CONST; +GType maynard_clock_get_type (void) G_GNUC_CONST; -GtkWidget * weston_gtk_clock_new (void); +GtkWidget * maynard_clock_new (void); -#endif /* __WESTON_GTK_CLOCK_H__ */ +#endif /* __MAYNARD_CLOCK_H__ */ |
