qulogic/libgnt

fd6233c15462
Rename _get_gtype() functions in libgnt to _get_type()
--- a/gnt-skel.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gnt-skel.c Thu Feb 06 19:44:10 2014 +0530
@@ -92,7 +92,7 @@
* GntSkel API
*****************************************************************************/
GType
-gnt_skel_get_gtype(void)
+gnt_skel_get_type(void)
{
static GType type = 0;
--- a/gnt-skel.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gnt-skel.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
*
* @return
*/
-GType gnt_skel_get_gtype(void);
+GType gnt_skel_get_type(void);
/**
*
--- a/gntbindable.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntbindable.c Thu Feb 06 19:44:10 2014 +0530
@@ -257,7 +257,7 @@
* GntBindable API
*****************************************************************************/
GType
-gnt_bindable_get_gtype(void)
+gnt_bindable_get_type(void)
{
static GType type = 0;
--- a/gntbindable.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntbindable.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
*
* @return
*/
-GType gnt_bindable_get_gtype(void);
+GType gnt_bindable_get_type(void);
/******************/
/* Key Remaps */
--- a/gntbox.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntbox.c Thu Feb 06 19:44:10 2014 +0530
@@ -633,7 +633,7 @@
* GntBox API
*****************************************************************************/
GType
-gnt_box_get_gtype(void)
+gnt_box_get_type(void)
{
static GType type = 0;
--- a/gntbox.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntbox.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
* 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)
--- a/gntbutton.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntbutton.c Thu Feb 06 19:44:10 2014 +0530
@@ -143,7 +143,7 @@
* GntButton API
*****************************************************************************/
GType
-gnt_button_get_gtype(void) {
+gnt_button_get_type(void) {
static GType type = 0;
if(type == 0) {
--- a/gntbutton.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntbutton.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
/**
* @return GType for Gntbutton
*/
-GType gnt_button_get_gtype(void);
+GType gnt_button_get_type(void);
/**
* Create a new button.
--- a/gntcheckbox.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntcheckbox.c Thu Feb 06 19:44:10 2014 +0530
@@ -125,7 +125,7 @@
* GntCheckBox API
*****************************************************************************/
GType
-gnt_check_box_get_gtype(void)
+gnt_check_box_get_type(void)
{
static GType type = 0;
--- a/gntcheckbox.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntcheckbox.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
/**
* @return GType for GntCheckBox
*/
-GType gnt_check_box_get_gtype(void);
+GType gnt_check_box_get_type(void);
/**
* Create a new checkbox.
--- a/gntclipboard.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntclipboard.c Thu Feb 06 19:44:10 2014 +0530
@@ -67,7 +67,7 @@
}
GType
-gnt_clipboard_get_gtype(void)
+gnt_clipboard_get_type(void)
{
static GType type = 0;
--- a/gntclipboard.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntclipboard.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
/**
* @return GType for GntClipboard.
*/
-GType gnt_clipboard_get_gtype(void);
+GType gnt_clipboard_get_type(void);
/**
* Get the current text from the clipboard.
--- a/gntcombobox.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntcombobox.c Thu Feb 06 19:44:10 2014 +0530
@@ -321,7 +321,7 @@
* GntComboBox API
*****************************************************************************/
GType
-gnt_combo_box_get_gtype(void)
+gnt_combo_box_get_type(void)
{
static GType type = 0;
--- a/gntcombobox.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntcombobox.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
/**
* @return Get the GType for GntComboBox
*/
-GType gnt_combo_box_get_gtype(void);
+GType gnt_combo_box_get_type(void);
/**
* Create a new GntComboBox
--- a/gntentry.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntentry.c Thu Feb 06 19:44:10 2014 +0530
@@ -1064,7 +1064,7 @@
* GntEntry API
*****************************************************************************/
GType
-gnt_entry_get_gtype(void)
+gnt_entry_get_type(void)
{
static GType type = 0;
--- a/gntentry.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntentry.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
/**
* @return GType for GntEntry.
*/
-GType gnt_entry_get_gtype(void);
+GType gnt_entry_get_type(void);
/**
* Create a new GntEntry.
--- a/gntfilesel.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntfilesel.c Thu Feb 06 19:44:10 2014 +0530
@@ -554,7 +554,7 @@
* GntFileSel API
*****************************************************************************/
GType
-gnt_file_sel_get_gtype(void)
+gnt_file_sel_get_type(void)
{
static GType type = 0;
--- a/gntfilesel.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntfilesel.h Thu Feb 06 19:44:10 2014 +0530
@@ -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 @@
/**
* @return GType for GntFileSel.
*/
-GType gnt_file_sel_get_gtype(void);
+GType gnt_file_sel_get_type(void);
/**
* Create a new file selector.
--- a/gntlabel.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntlabel.c Thu Feb 06 19:44:10 2014 +0530
@@ -157,7 +157,7 @@
* GntLabel API
*****************************************************************************/
GType
-gnt_label_get_gtype(void)
+gnt_label_get_type(void)
{
static GType type = 0;
--- a/gntlabel.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntlabel.h Thu Feb 06 19:44:10 2014 +0530
@@ -31,7 +31,7 @@
#include "gntwidget.h"
#include "gnttextview.h"
-#define GNT_TYPE_LABEL (gnt_label_get_gtype())
+#define GNT_TYPE_LABEL (gnt_label_get_type())
#define GNT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_LABEL, GntLabel))
#define GNT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_LABEL, GntLabelClass))
#define GNT_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_LABEL))
@@ -69,7 +69,7 @@
/**
* @return GType for GntLabel.
*/
-GType gnt_label_get_gtype(void);
+GType gnt_label_get_type(void);
/**
* Create a new GntLabel.
--- a/gntline.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntline.c Thu Feb 06 19:44:10 2014 +0530
@@ -139,7 +139,7 @@
* GntLine API
*****************************************************************************/
GType
-gnt_line_get_gtype(void)
+gnt_line_get_type(void)
{
static GType type = 0;
--- a/gntline.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntline.h Thu Feb 06 19:44:10 2014 +0530
@@ -32,7 +32,7 @@
#include "gntcolors.h"
#include "gntkeys.h"
-#define GNT_TYPE_LINE (gnt_line_get_gtype())
+#define GNT_TYPE_LINE (gnt_line_get_type())
#define GNT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_LINE, GntLine))
#define GNT_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_LINE, GntLineClass))
#define GNT_IS_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_LINE))
@@ -69,7 +69,7 @@
/**
* @return GType for GntLine.
*/
-GType gnt_line_get_gtype(void);
+GType gnt_line_get_type(void);
#define gnt_hline_new() gnt_line_new(FALSE)
#define gnt_vline_new() gnt_line_new(TRUE)
--- a/gntmenu.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntmenu.c Thu Feb 06 19:44:10 2014 +0530
@@ -450,7 +450,7 @@
* GntMenu API
*****************************************************************************/
GType
-gnt_menu_get_gtype(void)
+gnt_menu_get_type(void)
{
static GType type = 0;
--- a/gntmenu.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntmenu.h Thu Feb 06 19:44:10 2014 +0530
@@ -31,7 +31,7 @@
#include "gntcolors.h"
#include "gntkeys.h"
-#define GNT_TYPE_MENU (gnt_menu_get_gtype())
+#define GNT_TYPE_MENU (gnt_menu_get_type())
#define GNT_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_MENU, GntMenu))
#define GNT_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_MENU, GntMenuClass))
#define GNT_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_MENU))
@@ -88,7 +88,7 @@
/**
* @return The GType for GntMenu.
*/
-GType gnt_menu_get_gtype(void);
+GType gnt_menu_get_type(void);
/**
* Create a new menu.
--- a/gntmenuitem.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntmenuitem.c Thu Feb 06 19:44:10 2014 +0530
@@ -71,7 +71,7 @@
* GntMenuItem API
*****************************************************************************/
GType
-gnt_menuitem_get_gtype(void)
+gnt_menuitem_get_type(void)
{
static GType type = 0;
--- a/gntmenuitem.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntmenuitem.h Thu Feb 06 19:44:10 2014 +0530
@@ -30,7 +30,7 @@
#include <glib.h>
#include <glib-object.h>
-#define GNT_TYPE_MENU_ITEM (gnt_menuitem_get_gtype())
+#define GNT_TYPE_MENU_ITEM (gnt_menuitem_get_type())
#define GNT_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_MENU_ITEM, GntMenuItem))
#define GNT_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_MENU_ITEM, GntMenuItemClass))
#define GNT_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_MENU_ITEM))
@@ -89,7 +89,7 @@
/**
* @return GType for GntMenuItem.
*/
-GType gnt_menuitem_get_gtype(void);
+GType gnt_menuitem_get_type(void);
/**
* Create a new menuitem.
--- a/gntmenuitemcheck.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntmenuitemcheck.c Thu Feb 06 19:44:10 2014 +0530
@@ -43,7 +43,7 @@
* GntMenuItemCheck API
*****************************************************************************/
GType
-gnt_menuitem_check_get_gtype(void)
+gnt_menuitem_check_get_type(void)
{
static GType type = 0;
--- a/gntmenuitemcheck.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntmenuitemcheck.h Thu Feb 06 19:44:10 2014 +0530
@@ -32,7 +32,7 @@
#include "gntkeys.h"
#include "gntmenuitem.h"
-#define GNT_TYPE_MENU_ITEM_CHECK (gnt_menuitem_check_get_gtype())
+#define GNT_TYPE_MENU_ITEM_CHECK (gnt_menuitem_check_get_type())
#define GNT_MENU_ITEM_CHECK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_MENU_ITEM_CHECK, GntMenuItemCheck))
#define GNT_MENU_ITEM_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_MENU_ITEM_CHECK, GntMenuItemCheckClass))
#define GNT_IS_MENU_ITEM_CHECK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_MENU_ITEM_CHECK))
@@ -68,7 +68,7 @@
/**
* @return GType for GntMenuItemCheck.
*/
-GType gnt_menuitem_check_get_gtype(void);
+GType gnt_menuitem_check_get_type(void);
/**
* Create a new menuitem.
--- a/gntprogressbar.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntprogressbar.c Thu Feb 06 19:44:10 2014 +0530
@@ -143,7 +143,7 @@
}
GType
-gnt_progress_bar_get_gtype (void)
+gnt_progress_bar_get_type (void)
{
static GType type = 0;
--- a/gntprogressbar.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntprogressbar.h Thu Feb 06 19:44:10 2014 +0530
@@ -30,7 +30,7 @@
#include "gnt.h"
#include "gntwidget.h"
-#define GNT_TYPE_PROGRESS_BAR (gnt_progress_bar_get_gtype ())
+#define GNT_TYPE_PROGRESS_BAR (gnt_progress_bar_get_type ())
#define GNT_PROGRESS_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNT_TYPE_PROGRESS_BAR, GntProgressBar))
#define GNT_PROGRESS_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNT_TYPE_PROGRESS_BAR, GntProgressBarClass))
#define GNT_IS_PROGRESS_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNT_TYPE_PROGRESS_BAR))
@@ -64,7 +64,7 @@
* @return The GType for GntProrgressBar
**/
GType
-gnt_progress_bar_get_gtype (void);
+gnt_progress_bar_get_type (void);
/**
* Create a new GntProgressBar
--- a/gntslider.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntslider.c Thu Feb 06 19:44:10 2014 +0530
@@ -236,7 +236,7 @@
* GntSlider API
*****************************************************************************/
GType
-gnt_slider_get_gtype(void)
+gnt_slider_get_type(void)
{
static GType type = 0;
--- a/gntslider.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntslider.h Thu Feb 06 19:44:10 2014 +0530
@@ -31,7 +31,7 @@
#include "gnt.h"
#include "gntlabel.h"
-#define GNT_TYPE_SLIDER (gnt_slider_get_gtype())
+#define GNT_TYPE_SLIDER (gnt_slider_get_type())
#define GNT_SLIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_SLIDER, GntSlider))
#define GNT_SLIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_SLIDER, GntSliderClass))
#define GNT_IS_SLIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_SLIDER))
@@ -78,7 +78,7 @@
*
* @since 2.0.0 (gnt), 2.1.0 (pidgin)
*/
-GType gnt_slider_get_gtype(void);
+GType gnt_slider_get_type(void);
#define gnt_hslider_new(max, min) gnt_slider_new(FALSE, max, min)
#define gnt_vslider_new(max, min) gnt_slider_new(TRUE, max, min)
--- a/gnttextview.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gnttextview.c Thu Feb 06 19:44:10 2014 +0530
@@ -470,7 +470,7 @@
* GntTextView API
*****************************************************************************/
GType
-gnt_text_view_get_gtype(void)
+gnt_text_view_get_type(void)
{
static GType type = 0;
--- a/gnttextview.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gnttextview.h Thu Feb 06 19:44:10 2014 +0530
@@ -32,7 +32,7 @@
#include "gntcolors.h"
#include "gntkeys.h"
-#define GNT_TYPE_TEXT_VIEW (gnt_text_view_get_gtype())
+#define GNT_TYPE_TEXT_VIEW (gnt_text_view_get_type())
#define GNT_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_TEXT_VIEW, GntTextView))
#define GNT_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_TEXT_VIEW, GntTextViewClass))
#define GNT_IS_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_TEXT_VIEW))
@@ -90,7 +90,7 @@
/**
* @return GType for GntTextView.
*/
-GType gnt_text_view_get_gtype(void);
+GType gnt_text_view_get_type(void);
/**
* Create a new textview.
--- a/gnttree.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gnttree.c Thu Feb 06 19:44:10 2014 +0530
@@ -1142,7 +1142,7 @@
* GntTree API
*****************************************************************************/
GType
-gnt_tree_get_gtype(void)
+gnt_tree_get_type(void)
{
static GType type = 0;
--- a/gnttree.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gnttree.h Thu Feb 06 19:44:10 2014 +0530
@@ -33,7 +33,7 @@
#include "gntkeys.h"
#include "gnttextview.h"
-#define GNT_TYPE_TREE (gnt_tree_get_gtype())
+#define GNT_TYPE_TREE (gnt_tree_get_type())
#define GNT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_TREE, GntTree))
#define GNT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_TREE, GntTreeClass))
#define GNT_IS_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_TREE))
@@ -104,7 +104,7 @@
/**
* @return The GType for GntTree
*/
-GType gnt_tree_get_gtype(void);
+GType gnt_tree_get_type(void);
/**
* Create a tree with one column.
--- a/gntwidget.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntwidget.c Thu Feb 06 19:44:10 2014 +0530
@@ -268,7 +268,7 @@
* GntWidget API
*****************************************************************************/
GType
-gnt_widget_get_gtype(void)
+gnt_widget_get_type(void)
{
static GType type = 0;
--- a/gntwidget.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntwidget.h Thu Feb 06 19:44:10 2014 +0530
@@ -33,7 +33,7 @@
#include "gntbindable.h"
-#define GNT_TYPE_WIDGET (gnt_widget_get_gtype())
+#define GNT_TYPE_WIDGET (gnt_widget_get_type())
#define GNT_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WIDGET, GntWidget))
#define GNT_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_WIDGET, GntWidgetClass))
#define GNT_IS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WIDGET))
@@ -142,7 +142,7 @@
/**
* @return GType for GntWidget.
*/
-GType gnt_widget_get_gtype(void);
+GType gnt_widget_get_type(void);
/**
* Destroy a widget.
--- a/gntwindow.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntwindow.c Thu Feb 06 19:44:10 2014 +0530
@@ -131,7 +131,7 @@
* GntWindow API
*****************************************************************************/
GType
-gnt_window_get_gtype(void)
+gnt_window_get_type(void)
{
static GType type = 0;
--- a/gntwindow.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntwindow.h Thu Feb 06 19:44:10 2014 +0530
@@ -33,7 +33,7 @@
#include "gntkeys.h"
#include "gntmenu.h"
-#define GNT_TYPE_WINDOW (gnt_window_get_gtype())
+#define GNT_TYPE_WINDOW (gnt_window_get_type())
#define GNT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WINDOW, GntWindow))
#define GNT_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_WINDOW, GntWindowClass))
#define GNT_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WINDOW))
@@ -76,7 +76,7 @@
/**
* @return GType for GntWindow.
*/
-GType gnt_window_get_gtype(void);
+GType gnt_window_get_type(void);
#define gnt_vwindow_new(homo) gnt_window_box_new(homo, TRUE)
#define gnt_hwindow_new(homo) gnt_window_box_new(homo, FALSE)
--- a/gntwm.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntwm.c Thu Feb 06 19:44:10 2014 +0530
@@ -1590,7 +1590,7 @@
* GntWM API
*****************************************************************************/
GType
-gnt_wm_get_gtype(void)
+gnt_wm_get_type(void)
{
static GType type = 0;
--- a/gntwm.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntwm.h Thu Feb 06 19:44:10 2014 +0530
@@ -34,7 +34,7 @@
#include <panel.h>
#include <time.h>
-#define GNT_TYPE_WM (gnt_wm_get_gtype())
+#define GNT_TYPE_WM (gnt_wm_get_type())
#define GNT_WM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WM, GntWM))
#define GNT_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_WM, GntWMClass))
#define GNT_IS_WM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WM))
@@ -186,7 +186,7 @@
/**
* @return GType for GntWM.
*/
-GType gnt_wm_get_gtype(void);
+GType gnt_wm_get_type(void);
/**
* Add a workspace.
--- a/gntws.c Mon Jan 27 04:42:40 2014 +0530
+++ b/gntws.c Thu Feb 06 19:44:10 2014 +0530
@@ -160,7 +160,7 @@
}
GType
-gnt_ws_get_gtype(void)
+gnt_ws_get_type(void)
{
static GType type = 0;
--- a/gntws.h Mon Jan 27 04:42:40 2014 +0530
+++ b/gntws.h Thu Feb 06 19:44:10 2014 +0530
@@ -31,7 +31,7 @@
#include <panel.h>
-#define GNT_TYPE_WS (gnt_ws_get_gtype())
+#define GNT_TYPE_WS (gnt_ws_get_type())
#define GNT_WS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WS, GntWS))
#define GNT_IS_WS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WS))
#define GNT_IS_WS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_WS))
@@ -74,7 +74,7 @@
*
* @since 2.0.0 (gnt), 2.1.0 (pidgin)
*/
-GType gnt_ws_get_gtype(void);
+GType gnt_ws_get_type(void);
/**
* Create a new workspace with the specified name.
--- a/wms/irssi.c Mon Jan 27 04:42:40 2014 +0530
+++ b/wms/irssi.c Thu Feb 06 19:44:10 2014 +0530
@@ -43,7 +43,7 @@
#include "gntwindow.h"
#include "gntlabel.h"
-#define TYPE_IRSSI (irssi_get_gtype())
+#define TYPE_IRSSI (irssi_get_type())
typedef struct _Irssi
{
@@ -60,7 +60,7 @@
GntWMClass inherit;
} IrssiClass;
-GType irssi_get_gtype(void);
+GType irssi_get_type(void);
void gntwm_init(GntWM **wm);
static void (*org_new_window)(GntWM *wm, GntWidget *win);
@@ -367,7 +367,7 @@
irssi->buddylistwidth = 0;
}
-GType irssi_get_gtype(void)
+GType irssi_get_type(void)
{
static GType type = 0;
--- a/wms/s.c Mon Jan 27 04:42:40 2014 +0530
+++ b/wms/s.c Thu Feb 06 19:44:10 2014 +0530
@@ -13,7 +13,7 @@
#include "buddylist.h"
-#define TYPE_S (s_get_gtype())
+#define TYPE_S (s_get_type())
#ifdef _S
#undef _S
@@ -29,7 +29,7 @@
GntWMClass inherit;
} SClass;
-GType s_get_gtype(void);
+GType s_get_type(void);
void gntwm_init(GntWM **wm);
static void (*org_new_window)(GntWM *wm, GntWidget *win);
@@ -197,7 +197,7 @@
*wm = g_object_new(TYPE_S, NULL);
}
-GType s_get_gtype(void)
+GType s_get_type(void)
{
static GType type = 0;