/soc/2013/ankitkv/gobjectification: f223dd325f3a: Renamed roomli...

Ankit Vani a at nevitus.org
Sat Oct 12 11:26:37 EDT 2013


Changeset: f223dd325f3acc78c0039a788b4cc03718fd3193
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-10-12 20:54 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/f223dd325f3a

Description:

Renamed roomlist *_get_gtype functions to *_get_type so that gtk-doc can find them

diffstat:

 libpurple/roomlist.c |  4 ++--
 libpurple/roomlist.h |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (56 lines):

diff --git a/libpurple/roomlist.c b/libpurple/roomlist.c
--- a/libpurple/roomlist.c
+++ b/libpurple/roomlist.c
@@ -583,7 +583,7 @@ static void purple_roomlist_room_free(Pu
 	g_free(r);
 }
 
-GType purple_roomlist_room_get_gtype(void)
+GType purple_roomlist_room_get_type(void)
 {
 	static GType type = 0;
 
@@ -660,7 +660,7 @@ static void purple_roomlist_field_free(P
 	g_free(f);
 }
 
-GType purple_roomlist_field_get_gtype(void)
+GType purple_roomlist_field_get_type(void)
 {
 	static GType type = 0;
 
diff --git a/libpurple/roomlist.h b/libpurple/roomlist.h
--- a/libpurple/roomlist.h
+++ b/libpurple/roomlist.h
@@ -39,11 +39,11 @@ typedef struct _PurpleRoomlist PurpleRoo
 /** @copydoc _PurpleRoomlistClass */
 typedef struct _PurpleRoomlistClass PurpleRoomlistClass;
 
-#define PURPLE_TYPE_ROOMLIST_ROOM        (purple_roomlist_room_get_gtype())
+#define PURPLE_TYPE_ROOMLIST_ROOM        (purple_roomlist_room_get_type())
 
 typedef struct _PurpleRoomlistRoom PurpleRoomlistRoom;
 
-#define PURPLE_TYPE_ROOMLIST_FIELD       (purple_roomlist_field_get_gtype())
+#define PURPLE_TYPE_ROOMLIST_FIELD       (purple_roomlist_field_get_type())
 
 typedef struct _PurpleRoomlistField PurpleRoomlistField;
 
@@ -292,7 +292,7 @@ void purple_roomlist_set_ui_data(PurpleR
 /**
  * Returns the GType for the PurpleRoomlistRoom boxed structure.
  */
-GType purple_roomlist_room_get_gtype(void);
+GType purple_roomlist_room_get_type(void);
 
 /**
  * Creates a new room, to be added to the list.
@@ -379,7 +379,7 @@ GList * purple_roomlist_room_get_fields(
 /**
  * Returns the GType for the PurpleRoomlistField boxed structure.
  */
-GType purple_roomlist_field_get_gtype(void);
+GType purple_roomlist_field_get_type(void);
 
 /**
  * Creates a new field.



More information about the Commits mailing list