[Kazehakase-cvs] CVS update: kazehakase/src/mozilla

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Mon Mar 19 15:15:27 JST 2007


Index: kazehakase/src/mozilla/kz-mozembed.cpp
diff -u kazehakase/src/mozilla/kz-mozembed.cpp:1.232 kazehakase/src/mozilla/kz-mozembed.cpp:1.233
--- kazehakase/src/mozilla/kz-mozembed.cpp:1.232	Mon Mar 19 14:10:42 2007
+++ kazehakase/src/mozilla/kz-mozembed.cpp	Mon Mar 19 15:15:27 2007
@@ -37,6 +37,7 @@
 #include "kz-mozprogresslistener.h"
 #include "kz-mozthumbnailcreator.h"
 #include "kz-mozutils.h"
+#include "kz-mozsingle.h"
 #include "mozilla.h"
 #include "mozilla-prefs.h"
 #include "bookmarks/kz-bookmark.h"
@@ -96,6 +97,7 @@
 typedef struct _KzMozEmbedPrivate	KzMozEmbedPrivate;
 struct _KzMozEmbedPrivate
 {
+	KzMozSingle  *single;
 	KzMozWrapper *wrapper;
 	gint size_inited;
 	gint cur_requests;
@@ -499,6 +501,7 @@
 	kzembed->load_status_message   = NULL;
 
 	// priv
+	priv->single         = kz_moz_single_new(kz_app);
 	priv->wrapper        = NULL;
 	priv->size_inited    = FALSE;
 	priv->total_requests = 0;
@@ -567,6 +570,10 @@
 		g_free(priv->first_url);
 	priv->first_url = NULL;
 
+	if (priv->single)
+		g_object_unref(priv->single);
+	priv->single = NULL;
+
 	if (GTK_OBJECT_CLASS(kz_moz_embed_parent_class)->destroy)
 		GTK_OBJECT_CLASS(kz_moz_embed_parent_class)->destroy(object);
 }


More information about the Kazehakase-cvs mailing list
Back to archive index