/pidgin/main: ea1a0327001e: Rename _get_gtype() functions in lib...

Ankit Vani a at nevitus.org
Thu Feb 6 09:14:40 EST 2014


Changeset: ea1a0327001e2b76cf008e5e3172d555772f5297
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-02-06 19:44 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/ea1a0327001e

Description:

Rename _get_gtype() functions in libgnt to _get_type()

diffstat:

 finch/libgnt/gnt-skel.c         |  2 +-
 finch/libgnt/gnt-skel.h         |  4 ++--
 finch/libgnt/gntbindable.c      |  2 +-
 finch/libgnt/gntbindable.h      |  4 ++--
 finch/libgnt/gntbox.c           |  2 +-
 finch/libgnt/gntbox.h           |  4 ++--
 finch/libgnt/gntbutton.c        |  2 +-
 finch/libgnt/gntbutton.h        |  4 ++--
 finch/libgnt/gntcheckbox.c      |  2 +-
 finch/libgnt/gntcheckbox.h      |  4 ++--
 finch/libgnt/gntclipboard.c     |  2 +-
 finch/libgnt/gntclipboard.h     |  4 ++--
 finch/libgnt/gntcombobox.c      |  2 +-
 finch/libgnt/gntcombobox.h      |  4 ++--
 finch/libgnt/gntentry.c         |  2 +-
 finch/libgnt/gntentry.h         |  4 ++--
 finch/libgnt/gntfilesel.c       |  2 +-
 finch/libgnt/gntfilesel.h       |  4 ++--
 finch/libgnt/gntlabel.c         |  2 +-
 finch/libgnt/gntlabel.h         |  4 ++--
 finch/libgnt/gntline.c          |  2 +-
 finch/libgnt/gntline.h          |  4 ++--
 finch/libgnt/gntmenu.c          |  2 +-
 finch/libgnt/gntmenu.h          |  4 ++--
 finch/libgnt/gntmenuitem.c      |  2 +-
 finch/libgnt/gntmenuitem.h      |  4 ++--
 finch/libgnt/gntmenuitemcheck.c |  2 +-
 finch/libgnt/gntmenuitemcheck.h |  4 ++--
 finch/libgnt/gntprogressbar.c   |  2 +-
 finch/libgnt/gntprogressbar.h   |  4 ++--
 finch/libgnt/gntslider.c        |  2 +-
 finch/libgnt/gntslider.h        |  4 ++--
 finch/libgnt/gnttextview.c      |  2 +-
 finch/libgnt/gnttextview.h      |  4 ++--
 finch/libgnt/gnttree.c          |  2 +-
 finch/libgnt/gnttree.h          |  4 ++--
 finch/libgnt/gntwidget.c        |  2 +-
 finch/libgnt/gntwidget.h        |  4 ++--
 finch/libgnt/gntwindow.c        |  2 +-
 finch/libgnt/gntwindow.h        |  4 ++--
 finch/libgnt/gntwm.c            |  2 +-
 finch/libgnt/gntwm.h            |  4 ++--
 finch/libgnt/gntws.c            |  2 +-
 finch/libgnt/gntws.h            |  4 ++--
 finch/libgnt/wms/irssi.c        |  6 +++---
 finch/libgnt/wms/s.c            |  6 +++---
 46 files changed, 72 insertions(+), 72 deletions(-)

diffs (truncated from 786 to 300 lines):

diff --git a/finch/libgnt/gnt-skel.c b/finch/libgnt/gnt-skel.c
--- a/finch/libgnt/gnt-skel.c
+++ b/finch/libgnt/gnt-skel.c
@@ -92,7 +92,7 @@ gnt_skel_init(GTypeInstance *instance, g
  * GntSkel API
  *****************************************************************************/
 GType
-gnt_skel_get_gtype(void)
+gnt_skel_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gnt-skel.h b/finch/libgnt/gnt-skel.h
--- a/finch/libgnt/gnt-skel.h
+++ b/finch/libgnt/gnt-skel.h
@@ -32,7 +32,7 @@
 #include "gntcolors.h"
 #include "gntkeys.h"
 
-#define GNT_TYPE_SKEL				(gnt_skel_get_gtype())
+#define GNT_TYPE_SKEL				(gnt_skel_get_type())
 #define GNT_SKEL(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_SKEL, GntSkel))
 #define GNT_SKEL_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_SKEL, GntSkelClass))
 #define GNT_IS_SKEL(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_SKEL))
@@ -65,7 +65,7 @@ G_BEGIN_DECLS
  *
  * @return
  */
-GType gnt_skel_get_gtype(void);
+GType gnt_skel_get_type(void);
 
 /**
  *
diff --git a/finch/libgnt/gntbindable.c b/finch/libgnt/gntbindable.c
--- a/finch/libgnt/gntbindable.c
+++ b/finch/libgnt/gntbindable.c
@@ -257,7 +257,7 @@ duplicate_hashes(GntBindableClass *klass
  * GntBindable API
  *****************************************************************************/
 GType
-gnt_bindable_get_gtype(void)
+gnt_bindable_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntbindable.h b/finch/libgnt/gntbindable.h
--- a/finch/libgnt/gntbindable.h
+++ b/finch/libgnt/gntbindable.h
@@ -32,7 +32,7 @@
 #include <glib-object.h>
 #include <ncurses.h>
 
-#define GNT_TYPE_BINDABLE				(gnt_bindable_get_gtype())
+#define GNT_TYPE_BINDABLE				(gnt_bindable_get_type())
 #define GNT_BINDABLE(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BINDABLE, GntBindable))
 #define GNT_BINDABLE_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BINDABLE, GntBindableClass))
 #define GNT_IS_BINDABLE(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BINDABLE))
@@ -71,7 +71,7 @@ G_BEGIN_DECLS
  *
  * @return
  */
-GType gnt_bindable_get_gtype(void);
+GType gnt_bindable_get_type(void);
 
 /******************/
 /*   Key Remaps   */
diff --git a/finch/libgnt/gntbox.c b/finch/libgnt/gntbox.c
--- a/finch/libgnt/gntbox.c
+++ b/finch/libgnt/gntbox.c
@@ -633,7 +633,7 @@ gnt_box_init(GTypeInstance *instance, gp
  * GntBox API
  *****************************************************************************/
 GType
-gnt_box_get_gtype(void)
+gnt_box_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntbox.h b/finch/libgnt/gntbox.h
--- a/finch/libgnt/gntbox.h
+++ b/finch/libgnt/gntbox.h
@@ -30,7 +30,7 @@
 #include "gnt.h"
 #include "gntwidget.h"
 
-#define GNT_TYPE_BOX				(gnt_box_get_gtype())
+#define GNT_TYPE_BOX				(gnt_box_get_type())
 #define GNT_BOX(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BOX, GntBox))
 #define GNT_BOX_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BOX, GntBoxClass))
 #define GNT_IS_BOX(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BOX))
@@ -91,7 +91,7 @@ G_BEGIN_DECLS
  * The GType for GntBox.
  * @return The GType.
  */
-GType gnt_box_get_gtype(void);
+GType gnt_box_get_type(void);
 
 #define gnt_vbox_new(homo) gnt_box_new(homo, TRUE)
 #define gnt_hbox_new(homo) gnt_box_new(homo, FALSE)
diff --git a/finch/libgnt/gntbutton.c b/finch/libgnt/gntbutton.c
--- a/finch/libgnt/gntbutton.c
+++ b/finch/libgnt/gntbutton.c
@@ -143,7 +143,7 @@ gnt_button_init(GTypeInstance *instance,
  * GntButton API
  *****************************************************************************/
 GType
-gnt_button_get_gtype(void) {
+gnt_button_get_type(void) {
 	static GType type = 0;
 
 	if(type == 0) {
diff --git a/finch/libgnt/gntbutton.h b/finch/libgnt/gntbutton.h
--- a/finch/libgnt/gntbutton.h
+++ b/finch/libgnt/gntbutton.h
@@ -32,7 +32,7 @@
 #include "gnt.h"
 #include "gntwidget.h"
 
-#define GNT_TYPE_BUTTON				(gnt_button_get_gtype())
+#define GNT_TYPE_BUTTON				(gnt_button_get_type())
 #define GNT_BUTTON(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BUTTON, GntButton))
 #define GNT_BUTTON_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BUTTON, GntButtonClass))
 #define GNT_IS_BUTTON(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BUTTON))
@@ -75,7 +75,7 @@ G_BEGIN_DECLS
 /**
  * @return  GType for Gntbutton
  */
-GType gnt_button_get_gtype(void);
+GType gnt_button_get_type(void);
 
 /**
  * Create a new button.
diff --git a/finch/libgnt/gntcheckbox.c b/finch/libgnt/gntcheckbox.c
--- a/finch/libgnt/gntcheckbox.c
+++ b/finch/libgnt/gntcheckbox.c
@@ -125,7 +125,7 @@ gnt_check_box_init(GTypeInstance *instan
  * GntCheckBox API
  *****************************************************************************/
 GType
-gnt_check_box_get_gtype(void)
+gnt_check_box_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntcheckbox.h b/finch/libgnt/gntcheckbox.h
--- a/finch/libgnt/gntcheckbox.h
+++ b/finch/libgnt/gntcheckbox.h
@@ -32,7 +32,7 @@
 #include "gntcolors.h"
 #include "gntkeys.h"
 
-#define GNT_TYPE_CHECK_BOX				(gnt_check_box_get_gtype())
+#define GNT_TYPE_CHECK_BOX				(gnt_check_box_get_type())
 #define GNT_CHECK_BOX(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_CHECK_BOX, GntCheckBox))
 #define GNT_CHECK_BOX_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_CHECK_BOX, GntCheckBoxClass))
 #define GNT_IS_CHECK_BOX(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_CHECK_BOX))
@@ -70,7 +70,7 @@ G_BEGIN_DECLS
 /**
  * @return GType for GntCheckBox
  */
-GType gnt_check_box_get_gtype(void);
+GType gnt_check_box_get_type(void);
 
 /**
  * Create a new checkbox.
diff --git a/finch/libgnt/gntclipboard.c b/finch/libgnt/gntclipboard.c
--- a/finch/libgnt/gntclipboard.c
+++ b/finch/libgnt/gntclipboard.c
@@ -67,7 +67,7 @@ static void gnt_clipboard_init(GTypeInst
 }
 
 GType
-gnt_clipboard_get_gtype(void)
+gnt_clipboard_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntclipboard.h b/finch/libgnt/gntclipboard.h
--- a/finch/libgnt/gntclipboard.h
+++ b/finch/libgnt/gntclipboard.h
@@ -31,7 +31,7 @@
 #include <glib.h>
 #include <glib-object.h>
 
-#define GNT_TYPE_CLIPBOARD				(gnt_clipboard_get_gtype())
+#define GNT_TYPE_CLIPBOARD				(gnt_clipboard_get_type())
 #define GNT_CLIPBOARD(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_CLIPBOARD, GntClipboard))
 #define GNT_CLIPBOARD_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_CLIPBOARD, GntClipboardClass))
 #define GNT_IS_CLIPBOARD(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_CLIPBOARD))
@@ -62,7 +62,7 @@ G_BEGIN_DECLS
 /**
  * @return GType for GntClipboard.
  */
-GType gnt_clipboard_get_gtype(void);
+GType gnt_clipboard_get_type(void);
 
 /**
  * Get the current text from the clipboard.
diff --git a/finch/libgnt/gntcombobox.c b/finch/libgnt/gntcombobox.c
--- a/finch/libgnt/gntcombobox.c
+++ b/finch/libgnt/gntcombobox.c
@@ -321,7 +321,7 @@ gnt_combo_box_init(GTypeInstance *instan
  * GntComboBox API
  *****************************************************************************/
 GType
-gnt_combo_box_get_gtype(void)
+gnt_combo_box_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntcombobox.h b/finch/libgnt/gntcombobox.h
--- a/finch/libgnt/gntcombobox.h
+++ b/finch/libgnt/gntcombobox.h
@@ -32,7 +32,7 @@
 #include "gntkeys.h"
 #include "gntwidget.h"
 
-#define GNT_TYPE_COMBO_BOX				(gnt_combo_box_get_gtype())
+#define GNT_TYPE_COMBO_BOX				(gnt_combo_box_get_type())
 #define GNT_COMBO_BOX(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_COMBO_BOX, GntComboBox))
 #define GNT_COMBO_BOX_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_COMBO_BOX, GntComboBoxClass))
 #define GNT_IS_COMBO_BOX(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_COMBO_BOX))
@@ -71,7 +71,7 @@ G_BEGIN_DECLS
 /**
  * @return  Get the GType for GntComboBox
  */
-GType gnt_combo_box_get_gtype(void);
+GType gnt_combo_box_get_type(void);
 
 /**
  * Create a new GntComboBox
diff --git a/finch/libgnt/gntentry.c b/finch/libgnt/gntentry.c
--- a/finch/libgnt/gntentry.c
+++ b/finch/libgnt/gntentry.c
@@ -1064,7 +1064,7 @@ gnt_entry_init(GTypeInstance *instance, 
  * GntEntry API
  *****************************************************************************/
 GType
-gnt_entry_get_gtype(void)
+gnt_entry_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntentry.h b/finch/libgnt/gntentry.h
--- a/finch/libgnt/gntentry.h
+++ b/finch/libgnt/gntentry.h
@@ -32,7 +32,7 @@
 #include "gntcolors.h"
 #include "gntkeys.h"
 
-#define GNT_TYPE_ENTRY				(gnt_entry_get_gtype())
+#define GNT_TYPE_ENTRY				(gnt_entry_get_type())
 #define GNT_ENTRY(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_ENTRY, GntEntry))
 #define GNT_ENTRY_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_ENTRY, GntEntryClass))
 #define GNT_IS_ENTRY(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_ENTRY))
@@ -106,7 +106,7 @@ G_BEGIN_DECLS
 /**
  * @return GType for GntEntry.
  */
-GType gnt_entry_get_gtype(void);
+GType gnt_entry_get_type(void);
 
 /**
  * Create a new GntEntry.
diff --git a/finch/libgnt/gntfilesel.c b/finch/libgnt/gntfilesel.c
--- a/finch/libgnt/gntfilesel.c
+++ b/finch/libgnt/gntfilesel.c
@@ -554,7 +554,7 @@ gnt_file_sel_init(GTypeInstance *instanc
  * GntFileSel API
  *****************************************************************************/
 GType
-gnt_file_sel_get_gtype(void)
+gnt_file_sel_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/finch/libgnt/gntfilesel.h b/finch/libgnt/gntfilesel.h
--- a/finch/libgnt/gntfilesel.h
+++ b/finch/libgnt/gntfilesel.h
@@ -32,7 +32,7 @@
 #include "gntcolors.h"
 #include "gntkeys.h"
 
-#define GNT_TYPE_FILE_SEL				(gnt_file_sel_get_gtype())
+#define GNT_TYPE_FILE_SEL				(gnt_file_sel_get_type())
 #define GNT_FILE_SEL(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_FILE_SEL, GntFileSel))
 #define GNT_FILE_SEL_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_FILE_SEL, GntFileSelClass))
 #define GNT_IS_FILE_SEL(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_FILE_SEL))
@@ -100,7 +100,7 @@ G_BEGIN_DECLS
 /**
  * @return GType for GntFileSel.
  */
-GType gnt_file_sel_get_gtype(void);
+GType gnt_file_sel_get_type(void);
 
 /**
  * Create a new file selector.
diff --git a/finch/libgnt/gntlabel.c b/finch/libgnt/gntlabel.c
--- a/finch/libgnt/gntlabel.c
+++ b/finch/libgnt/gntlabel.c



More information about the Commits mailing list