gedit r6245 - branches/jessevdk-plugins/gedit/plugins



Author: jessevdk
Date: Mon Apr  7 16:44:17 2008
New Revision: 6245
URL: http://svn.gnome.org/viewvc/gedit?rev=6245&view=rev

Log:
	* gedit/plugins/gedit-plugin-python-utils.c: fix bug with getting
	  type from instance


Modified:
   branches/jessevdk-plugins/gedit/plugins/gedit-plugin-python-utils.c

Modified: branches/jessevdk-plugins/gedit/plugins/gedit-plugin-python-utils.c
==============================================================================
--- branches/jessevdk-plugins/gedit/plugins/gedit-plugin-python-utils.c	(original)
+++ branches/jessevdk-plugins/gedit/plugins/gedit-plugin-python-utils.c	Mon Apr  7 16:44:17 2008
@@ -66,7 +66,7 @@
 		return NULL;
 	}
 	
-	name = g_type_name (plugin);
+	name = g_type_name (G_OBJECT_TYPE (plugin));
 	
 	if (g_str_has_prefix (name, TYPE_PREFIX))
 		name = name + strlen(TYPE_PREFIX);



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