[planner] Switch from deprecated GtkType to GType



commit 32221c8d778cb09dd87dc4c506701d602999a02f
Author: Alexandre Franke <alexandre franke gmail com>
Date:   Mon May 14 10:59:13 2012 +0200

    Switch from deprecated GtkType to GType

 src/planner-application.c         |    2 +-
 src/planner-cell-renderer-popup.h |    2 +-
 src/planner-gantt-header.c        |    4 ++--
 src/planner-gantt-header.h        |    2 +-
 src/planner-popup-entry.c         |    4 ++--
 src/planner-popup-entry.h         |    2 +-
 src/planner-sidebar.c             |    4 ++--
 src/planner-sidebar.h             |    2 +-
 src/planner-window.c              |    2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/planner-application.c b/src/planner-application.c
index c9674d0..10d0b4c 100644
--- a/src/planner-application.c
+++ b/src/planner-application.c
@@ -133,7 +133,7 @@ static GtkStockItem stock_items[] = {
 GType
 planner_application_get_type (void)
 {
-	static GtkType type = 0;
+	static GType type = 0;
 
 	if (!type) {
 		static const GTypeInfo info = {
diff --git a/src/planner-cell-renderer-popup.h b/src/planner-cell-renderer-popup.h
index ecf0154..fe80ee9 100644
--- a/src/planner-cell-renderer-popup.h
+++ b/src/planner-cell-renderer-popup.h
@@ -48,7 +48,7 @@ struct _PlannerCellRendererPopupClass
 	void   (* hide_popup) (PlannerCellRendererPopup *cell);
 };
 
-GtkType          planner_cell_renderer_popup_get_type (void) G_GNUC_CONST;
+GType          planner_cell_renderer_popup_get_type (void) G_GNUC_CONST;
 
 GtkCellRenderer *planner_cell_renderer_popup_new      (void);
 
diff --git a/src/planner-gantt-header.c b/src/planner-gantt-header.c
index ade7132..82fce6f 100644
--- a/src/planner-gantt-header.c
+++ b/src/planner-gantt-header.c
@@ -107,10 +107,10 @@ static GtkWidgetClass *parent_class = NULL;
 static guint           signals[LAST_SIGNAL];
 
 
-GtkType
+GType
 planner_gantt_header_get_type (void)
 {
-	static GtkType planner_gantt_header_type = 0;
+	static GType planner_gantt_header_type = 0;
 
 	if (!planner_gantt_header_type) {
 		static const GTypeInfo planner_gantt_header_info = {
diff --git a/src/planner-gantt-header.h b/src/planner-gantt-header.h
index aeeb9b8..f7348f7 100644
--- a/src/planner-gantt-header.h
+++ b/src/planner-gantt-header.h
@@ -52,7 +52,7 @@ struct _PlannerGanttHeaderClass
 };
 
 
-GtkType                planner_gantt_header_get_type        (void) G_GNUC_CONST;
+GType                planner_gantt_header_get_type        (void) G_GNUC_CONST;
 GtkWidget             *planner_gantt_header_new             (void);
 
 
diff --git a/src/planner-popup-entry.c b/src/planner-popup-entry.c
index 286883c..5661196 100644
--- a/src/planner-popup-entry.c
+++ b/src/planner-popup-entry.c
@@ -40,10 +40,10 @@ enum {
 static GtkEventBoxClass *parent_class;
 static guint signals[LAST_SIGNAL];
 
-GtkType
+GType
 planner_popup_entry_get_type (void)
 {
-	static GtkType widget_type = 0;
+	static GType widget_type = 0;
 
 	if (!widget_type) {
 		static const GTypeInfo widget_info = {
diff --git a/src/planner-popup-entry.h b/src/planner-popup-entry.h
index d16ac70..2f4037b 100644
--- a/src/planner-popup-entry.h
+++ b/src/planner-popup-entry.h
@@ -52,7 +52,7 @@ struct _PlannerPopupEntryClass
 	GtkEventBoxClass parent_class;
 };
 
-GtkType      planner_popup_entry_get_type   (void) G_GNUC_CONST;
+GType      planner_popup_entry_get_type   (void) G_GNUC_CONST;
 
 GtkWidget   *planner_popup_entry_new        (void);
 
diff --git a/src/planner-sidebar.c b/src/planner-sidebar.c
index 1f18548..90365da 100644
--- a/src/planner-sidebar.c
+++ b/src/planner-sidebar.c
@@ -59,10 +59,10 @@ static GtkVBoxClass *parent_class = NULL;
 static guint signals[LAST_SIGNAL];
 
 
-GtkType
+GType
 planner_sidebar_get_type (void)
 {
-	static GtkType planner_sidebar_type = 0;
+	static GType planner_sidebar_type = 0;
 
 	if (!planner_sidebar_type) {
 		static const GTypeInfo planner_sidebar_info = {
diff --git a/src/planner-sidebar.h b/src/planner-sidebar.h
index 7697f7f..463ef55 100644
--- a/src/planner-sidebar.h
+++ b/src/planner-sidebar.h
@@ -48,7 +48,7 @@ struct _PlannerSidebarClass
 };
 
 
-GtkType    planner_sidebar_get_type     (void) G_GNUC_CONST;
+GType    planner_sidebar_get_type     (void) G_GNUC_CONST;
 
 GtkWidget *planner_sidebar_new          (void);
 
diff --git a/src/planner-window.c b/src/planner-window.c
index fa784df..622b6c0 100644
--- a/src/planner-window.c
+++ b/src/planner-window.c
@@ -314,7 +314,7 @@ static guint n_entries = G_N_ELEMENTS(entries);
 GType
 planner_window_get_type (void)
 {
-	static GtkType type = 0;
+	static GType type = 0;
 
 	if (!type) {
 		static const GTypeInfo info = {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]