[kazehakase-svn] [3530] G_OBJECT macro cleanup.

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
Wed Jan 21 08:18:43 JST 2009


Revision: 3530
          http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3530
Author:   ikezoe
Date:     2009-01-21 08:18:43 +0900 (Wed, 21 Jan 2009)

Log Message:
-----------
G_OBJECT macro cleanup.

Modified Paths:
--------------
    kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp
    kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp
    kazehakase/trunk/module/embed/gecko/mozilla-prefs.cpp

Modified: kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp	2009-01-20 05:53:23 UTC (rev 3529)
+++ kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp	2009-01-20 23:18:43 UTC (rev 3530)
@@ -1165,7 +1165,7 @@
 
 static void
 kz_gecko_embed_new_window (GtkMozEmbed *embed, GtkMozEmbed **newEmbed,
-			 guint chromemask)
+			   guint chromemask)
 {
 	if ((chromemask & GTK_MOZ_EMBED_FLAG_OPENASCHROME) != 0)
 	{
@@ -3241,7 +3241,7 @@
 nav_link_elem_free(gpointer object, gpointer unused)
 {
 	if (object)
-		g_object_unref(G_OBJECT(object));
+		g_object_unref(object);
 }
 
 static void

Modified: kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp	2009-01-20 05:53:23 UTC (rev 3529)
+++ kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp	2009-01-20 23:18:43 UTC (rev 3530)
@@ -142,7 +142,7 @@
 	}
 	else
 	{
-		object = G_OBJECT(g_object_ref(G_OBJECT(the_kz_gecko_single)));
+		object = G_OBJECT(g_object_ref(the_kz_gecko_single));
 	}
 	return object;
 }
@@ -218,8 +218,8 @@
 kz_gecko_single_new (KzApp *kz_app)
 {
 	return KZ_GECKO_SINGLE(g_object_new(KZ_TYPE_GECKO_SINGLE,
-				    "kz-app", kz_app,
-				    NULL));
+			     		    "kz-app", kz_app,
+					    NULL));
 }
 
 
@@ -354,7 +354,7 @@
 			if (item)
 			{
 				mozilla_prefs_set_proxy(item);
-				g_object_unref(G_OBJECT(item));
+				g_object_unref(item);
 			}
 		}
 		break;

Modified: kazehakase/trunk/module/embed/gecko/mozilla-prefs.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/mozilla-prefs.cpp	2009-01-20 05:53:23 UTC (rev 3529)
+++ kazehakase/trunk/module/embed/gecko/mozilla-prefs.cpp	2009-01-20 23:18:43 UTC (rev 3530)
@@ -291,7 +291,7 @@
 		if (item)
 		{
 			mozilla_prefs_set_proxy(item);
-			g_object_unref(G_OBJECT(item));
+			g_object_unref(item);
 		}
 	}
 	else



More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index