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

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Tue Jan 2 18:46:16 JST 2007


Index: kazehakase/src/bookmarks/kz-session.c
diff -u kazehakase/src/bookmarks/kz-session.c:1.8 kazehakase/src/bookmarks/kz-session.c:1.9
--- kazehakase/src/bookmarks/kz-session.c:1.8	Tue Jan  2 18:23:47 2007
+++ kazehakase/src/bookmarks/kz-session.c	Tue Jan  2 18:46:16 2007
@@ -18,7 +18,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- *  $Id: kz-session.c,v 1.8 2007/01/02 09:23:47 ikezoe Exp $
+ *  $Id: kz-session.c,v 1.9 2007/01/02 09:46:16 ikezoe Exp $
  */
 
 #include "kz-session.h"
@@ -36,16 +36,6 @@
 
 #define KZ_SESSION_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), KZ_TYPE_SESSION, KzSessionPrivate))
 
-static void dispose      (GObject             *object);
-static void set_property (GObject             *object,
-	                  guint                prop_id,
-	                  const GValue        *value,
-	                  GParamSpec          *pspec);
-static void get_property (GObject             *object,
-                          guint                prop_id,
-                          GValue              *value,
-                          GParamSpec          *pspec);
-
 static void kz_bookmark_insert_child (KzBookmark *bookmark,
 				      KzBookmark *child,
 				      KzBookmark *sibling);
@@ -62,23 +52,16 @@
 static void
 kz_session_class_init (KzSessionClass *klass)
 {
-	GObjectClass *object_class;
 	KzBookmarkClass *bookmark_class;
 
-	object_class = (GObjectClass *) klass;
 	bookmark_class = (KzBookmarkClass *) klass;
 
-	object_class->dispose      = dispose;
-	object_class->set_property = set_property;
-	object_class->get_property = get_property;
-
 	bookmark_class->insert_child = kz_bookmark_insert_child;
 	bookmark_class->remove_child = kz_bookmark_remove_child;
 
 	g_type_class_add_private(object_class, sizeof(KzSessionPrivate));
 }
 
-
 static void
 kz_session_init (KzSession *session)
 {
@@ -88,44 +71,6 @@
 	priv->frozen    = FALSE;
 }
 
-
-static void
-dispose (GObject *object)
-{
-	if (G_OBJECT_CLASS (kz_session_parent_class)->dispose)
-		G_OBJECT_CLASS (kz_session_parent_class)->dispose(object);
-}
-
-static void
-set_property (GObject *object,
-              guint prop_id,
-              const GValue *value,
-              GParamSpec *pspec)
-{
-	switch (prop_id)
-	{
-	default:
-		G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
-		break;
-	}
-}
-
-
-static void
-get_property (GObject *object,
-              guint prop_id,
-              GValue *value,
-              GParamSpec *pspec)
-{
-	switch (prop_id)
-	{
-	default:
-		G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
-		break;
-	}
-}
-
-
 KzBookmark *
 kz_session_new (const gchar *location, const gchar *title)
 {


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