[kazehakase-svn] [3602] tab.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Tue Feb 3 11:01:14 JST 2009


Revision: 3602
          http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3602
Author:   ikezoe
Date:     2009-02-03 11:01:14 +0900 (Tue, 03 Feb 2009)

Log Message:
-----------
tab.

Modified Paths:
--------------
    kazehakase/trunk/module/embed/ie/kz-ie.c

Modified: kazehakase/trunk/module/embed/ie/kz-ie.c
===================================================================
--- kazehakase/trunk/module/embed/ie/kz-ie.c	2009-02-03 01:57:13 UTC (rev 3601)
+++ kazehakase/trunk/module/embed/ie/kz-ie.c	2009-02-03 02:01:14 UTC (rev 3602)
@@ -868,16 +868,16 @@
 	const GList *node;
 	guint count = 0;
 
-        for (node = history_list; node; node = g_list_next(node))
-        {
+	for (node = history_list; node; node = g_list_next(node))
+	{
 		const gchar *uri, *title;
-                GtkIEEmbedHistoryItem *item = GTK_IE_EMBED_HISTORY_ITEM(node->data);
+		GtkIEEmbedHistoryItem *item = GTK_IE_EMBED_HISTORY_ITEM(node->data);
 
-                uri = gtk_ie_embed_history_item_get_uri(item);
-                title = gtk_ie_embed_history_item_get_title(item);
+		uri = gtk_ie_embed_history_item_get_uri(item);
+		title = gtk_ie_embed_history_item_get_title(item);
 		merge_to_bookmark_list(uri, title, bookmark_list_node, folder);
 		count++;
-        }
+	}
 	return count;
 }
 
@@ -885,12 +885,12 @@
 get_history (KzEmbed *kzembed, KzBookmark *history)
 {
 	GList *children, *bookmark_node;
-        GList *backward_history, *forward_history;
+	GList *backward_history, *forward_history;
 	gint current_position = 0;
 	const gchar *uri, *title;
 
-        backward_history = gtk_ie_embed_get_backward_history(GTK_IE_EMBED(kzembed));
-        forward_history = gtk_ie_embed_get_forward_history(GTK_IE_EMBED(kzembed));
+	backward_history = gtk_ie_embed_get_backward_history(GTK_IE_EMBED(kzembed));
+	forward_history = gtk_ie_embed_get_forward_history(GTK_IE_EMBED(kzembed));
 
 	children = kz_bookmark_get_children(history);
 	bookmark_node = children;
@@ -927,11 +927,11 @@
 
 	for (node = children; node; node = g_list_next(node))
 	{
-                /* FIXME */
+		/* FIXME */
 	}
 
-        if (children)
-                g_list_free(children);
+	if (children)
+		g_list_free(children);
 }
 
 static void
@@ -946,7 +946,7 @@
                gboolean back_history, gboolean forward_history,
 	       gboolean set_current)
 {
-        GList *backward_history_list, *forward_history_list;
+	GList *backward_history_list, *forward_history_list;
 
 	if (back_history)
 	{
@@ -977,7 +977,7 @@
 static gboolean 
 shistory_get_pos (KzEmbed *kzembed, gint *pos, gint *count)
 {
-        GtkIEEmbed *ie = GTK_IE_EMBED(kzembed);
+	GtkIEEmbed *ie = GTK_IE_EMBED(kzembed);
 
 	*pos = (gint)gtk_ie_embed_get_current_position_in_history(ie);
 	*count = (gint)gtk_ie_embed_get_history_count(ie);
@@ -994,15 +994,15 @@
 	guint current_position;
 
 	current_position = gtk_ie_embed_get_current_position_in_history(GTK_IE_EMBED(kzembed));
-        if (!is_relative)
-                nth -= current_position;
-        item = gtk_ie_embed_get_history_item_at_relative_position(GTK_IE_EMBED(kzembed), nth);
-        if (!item)
-                return;
+	if (!is_relative)
+		nth -= current_position;
+	item = gtk_ie_embed_get_history_item_at_relative_position(GTK_IE_EMBED(kzembed), nth);
+	if (!item)
+		return;
 
-        *uri = g_strdup(gtk_ie_embed_history_item_get_uri(item));
-        *title = g_strdup(gtk_ie_embed_history_item_get_title(item));
-        g_object_unref(item);
+	*uri = g_strdup(gtk_ie_embed_history_item_get_uri(item));
+	*title = g_strdup(gtk_ie_embed_history_item_get_title(item));
+	g_object_unref(item);
 }
 
 static void
@@ -1011,7 +1011,7 @@
 	guint current_position;
 
 	current_position = gtk_ie_embed_get_current_position_in_history(GTK_IE_EMBED(kzembed));
-        gtk_ie_embed_go_relative_position(GTK_IE_EMBED(kzembed), index - current_position);
+	gtk_ie_embed_go_relative_position(GTK_IE_EMBED(kzembed), index - current_position);
 }
 
 




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