/soc/2013/ankitkv/gobjectification: b076f179477e: Updated the pr...

Ankit Vani a at nevitus.org
Sun Oct 27 15:45:08 EDT 2013


Changeset: b076f179477ea5835cd8bed5c08f9a1e719d1d34
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-10-28 01:14 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/b076f179477e

Description:

Updated the property enums

diffstat:

 finch/gntplugin.c  |  8 ++++----
 pidgin/gtkplugin.c |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (78 lines):

diff --git a/finch/gntplugin.c b/finch/gntplugin.c
--- a/finch/gntplugin.c
+++ b/finch/gntplugin.c
@@ -53,7 +53,7 @@ typedef struct
 enum
 {
 	PROP_0,
-	PROP_FINCH_PREF_FRAME_CB,
+	PROP_GNT_PREF_FRAME_CB,
 	PROP_LAST
 };
 
@@ -90,7 +90,7 @@ finch_plugin_info_set_property(GObject *
 	FinchPluginInfoPrivate *priv = FINCH_PLUGIN_INFO_GET_PRIVATE(obj);
 
 	switch (param_id) {
-		case PROP_FINCH_PREF_FRAME_CB:
+		case PROP_GNT_PREF_FRAME_CB:
 			priv->pref_frame_cb = g_value_get_pointer(value);
 			break;
 		default:
@@ -107,7 +107,7 @@ finch_plugin_info_get_property(GObject *
 	FinchPluginInfoPrivate *priv = FINCH_PLUGIN_INFO_GET_PRIVATE(obj);
 
 	switch (param_id) {
-		case PROP_FINCH_PREF_FRAME_CB:
+		case PROP_GNT_PREF_FRAME_CB:
 			g_value_set_pointer(value, priv->pref_frame_cb);
 			break;
 		default:
@@ -127,7 +127,7 @@ static void finch_plugin_info_class_init
 	obj_class->get_property = finch_plugin_info_get_property;
 	obj_class->set_property = finch_plugin_info_set_property;
 
-	g_object_class_install_property(obj_class, PROP_FINCH_PREF_FRAME_CB,
+	g_object_class_install_property(obj_class, PROP_GNT_PREF_FRAME_CB,
 		g_param_spec_pointer("gnt-pref-frame-cb",
 		                     "GNT preferences frame callback",
 		                     "Callback that returns a GNT preferences frame",
diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -50,7 +50,7 @@ typedef struct
 enum
 {
 	PROP_0,
-	PROP_PIDGIN_CONFIG_FRAME_CB,
+	PROP_GTK_CONFIG_FRAME_CB,
 	PROP_LAST
 };
 
@@ -98,7 +98,7 @@ pidgin_plugin_info_set_property(GObject 
 	PidginPluginInfoPrivate *priv = PIDGIN_PLUGIN_INFO_GET_PRIVATE(obj);
 
 	switch (param_id) {
-		case PROP_PIDGIN_CONFIG_FRAME_CB:
+		case PROP_GTK_CONFIG_FRAME_CB:
 			priv->config_frame_cb = g_value_get_pointer(value);
 			break;
 		default:
@@ -115,7 +115,7 @@ pidgin_plugin_info_get_property(GObject 
 	PidginPluginInfoPrivate *priv = PIDGIN_PLUGIN_INFO_GET_PRIVATE(obj);
 
 	switch (param_id) {
-		case PROP_PIDGIN_CONFIG_FRAME_CB:
+		case PROP_GTK_CONFIG_FRAME_CB:
 			g_value_set_pointer(value, priv->config_frame_cb);
 			break;
 		default:
@@ -135,7 +135,7 @@ static void pidgin_plugin_info_class_ini
 	obj_class->get_property = pidgin_plugin_info_get_property;
 	obj_class->set_property = pidgin_plugin_info_set_property;
 
-	g_object_class_install_property(obj_class, PROP_PIDGIN_CONFIG_FRAME_CB,
+	g_object_class_install_property(obj_class, PROP_GTK_CONFIG_FRAME_CB,
 		g_param_spec_pointer("gtk-config-frame-cb",
 		                     "GTK configuration frame callback",
 		                     "Callback that returns a GTK configuration frame",



More information about the Commits mailing list