Mercurial > pidgin
comparison src/gtkcellrendererprogress.h @ 9898:8974a8544279
[gaim-migrate @ 10788]
Change the namespace for our gtk cell renderer
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 28 Aug 2004 12:58:57 +0000 |
parents | db62420a53a2 |
children |
comparison
equal
deleted
inserted
replaced
9897:62ccc10573d6 | 9898:8974a8544279 |
---|---|
1 /* gtkcellrendererprogress.h | 1 /* gtkxcellrendererprogress.h |
2 * Gaim is the legal property of its developers, whose names are too numerous | 2 * Gaim is the legal property of its developers, whose names are too numerous |
3 * to list here. Please refer to the COPYRIGHT file distributed with this | 3 * to list here. Please refer to the COPYRIGHT file distributed with this |
4 * source distribution. | 4 * source distribution. |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
26 #ifdef __cplusplus | 26 #ifdef __cplusplus |
27 extern "C" { | 27 extern "C" { |
28 #endif /* __cplusplus */ | 28 #endif /* __cplusplus */ |
29 | 29 |
30 | 30 |
31 #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type()) | 31 #define GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS (gaim_gtk_cell_renderer_progress_get_type()) |
32 #define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress)) | 32 #define GAIM_GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS, GaimGtkCellRendererProgress)) |
33 #define GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) | 33 #define GAIM_GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS, GaimGtkCellRendererProgressClass)) |
34 #define GTK_IS_CELL_PROGRESS_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS)) | 34 #define GAIM_IS_GTK_CELL_PROGRESS_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS)) |
35 #define GTK_IS_CELL_PROGRESS_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS)) | 35 #define GAIM_IS_GTK_CELL_PROGRESS_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS)) |
36 #define GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) | 36 #define GAIM_GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS, GaimGtkCellRendererProgressClass)) |
37 | 37 |
38 typedef struct _GtkCellRendererProgress GtkCellRendererProgress; | 38 typedef struct _GaimGtkCellRendererProgress GaimGtkCellRendererProgress; |
39 typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass; | 39 typedef struct _GaimGtkCellRendererProgressClass GaimGtkCellRendererProgressClass; |
40 | 40 |
41 struct _GtkCellRendererProgress { | 41 struct _GaimGtkCellRendererProgress { |
42 GtkCellRenderer parent; | 42 GtkCellRenderer parent; |
43 | 43 |
44 gdouble progress; | 44 gdouble progress; |
45 gchar *text; | 45 gchar *text; |
46 gboolean text_set; | 46 gboolean text_set; |
47 }; | 47 }; |
48 | 48 |
49 struct _GtkCellRendererProgressClass { | 49 struct _GaimGtkCellRendererProgressClass { |
50 GtkCellRendererClass parent_class; | 50 GtkCellRendererClass parent_class; |
51 }; | 51 }; |
52 | 52 |
53 GType gtk_cell_renderer_progress_get_type (void); | 53 GType gaim_gtk_cell_renderer_progress_get_type (void); |
54 GtkCellRenderer *gtk_cell_renderer_progress_new (void); | 54 GtkCellRenderer *gaim_gtk_cell_renderer_progress_new (void); |
55 | 55 |
56 | 56 |
57 #ifdef __cplusplus | 57 #ifdef __cplusplus |
58 } | 58 } |
59 #endif /* __cplusplus */ | 59 #endif /* __cplusplus */ |