/soc/2013/ankitkv/gobjectification: b6a724b4cdfb: Renamed pidgin...

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


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

Description:

Renamed pidgin_menu_tray_get_gtype to pidgin_menu_tray_get_type so that gtk-doc can find it

diffstat:

 pidgin/gtkmenutray.c |  2 +-
 pidgin/gtkmenutray.h |  4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff --git a/pidgin/gtkmenutray.c b/pidgin/gtkmenutray.c
--- a/pidgin/gtkmenutray.c
+++ b/pidgin/gtkmenutray.c
@@ -176,7 +176,7 @@ pidgin_menu_tray_init(PidginMenuTray *me
  * API
  *****************************************************************************/
 GType
-pidgin_menu_tray_get_gtype(void) {
+pidgin_menu_tray_get_type(void) {
 	static GType type = 0;
 
 	if(type == 0) {
diff --git a/pidgin/gtkmenutray.h b/pidgin/gtkmenutray.h
--- a/pidgin/gtkmenutray.h
+++ b/pidgin/gtkmenutray.h
@@ -26,7 +26,7 @@
 
 #include <gtk/gtk.h>
 
-#define PIDGIN_TYPE_MENU_TRAY            (pidgin_menu_tray_get_gtype())
+#define PIDGIN_TYPE_MENU_TRAY            (pidgin_menu_tray_get_type())
 #define PIDGIN_MENU_TRAY(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), PIDGIN_TYPE_MENU_TRAY, PidginMenuTray))
 #define PIDGIN_MENU_TRAY_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), PIDGIN_TYPE_MENU_TRAY, PidginMenuTrayClass))
 #define PIDGIN_IS_MENU_TRAY(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), PIDGIN_TYPE_MENU_TRAY))
@@ -55,7 +55,7 @@ G_BEGIN_DECLS
  *
  * @return The PidginMenuTray type ID
  */
-GType pidgin_menu_tray_get_gtype(void);
+GType pidgin_menu_tray_get_type(void);
 
 /**
  * Creates a new PidginMenuTray



More information about the Commits mailing list