[kazehakase-svn] [3268] const.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Fri Oct 5 06:54:50 JST 2007


Revision: 3268
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3268
Author:   ikezoe
Date:     2007-10-05 06:54:50 +0900 (Fri, 05 Oct 2007)

Log Message:
-----------
const.

Modified Paths:
--------------
    kazehakase/trunk/src/bookmarks/kz-bookmark-bar.c
    kazehakase/trunk/src/bookmarks/kz-bookmark-item.c
    kazehakase/trunk/src/kz-download-box.c
    kazehakase/trunk/src/kz-notebook.c

Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-bar.c
===================================================================
--- kazehakase/trunk/src/bookmarks/kz-bookmark-bar.c	2007-10-04 05:17:39 UTC (rev 3267)
+++ kazehakase/trunk/src/bookmarks/kz-bookmark-bar.c	2007-10-04 21:54:50 UTC (rev 3268)
@@ -63,7 +63,7 @@
 	TARGET_STRING
 };
 
-static GtkTargetEntry url_drag_types [] = 
+static const GtkTargetEntry url_drag_types [] = 
 {
 	{"GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, TARGET_GTK_NOTEBOOK_TAB},
 	{"_KAZEHAKASE_BOOKMARKS", GTK_TARGET_SAME_APP, TARGET_KAZEHAKASE_BOOKMARKS},

Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-item.c
===================================================================
--- kazehakase/trunk/src/bookmarks/kz-bookmark-item.c	2007-10-04 05:17:39 UTC (rev 3267)
+++ kazehakase/trunk/src/bookmarks/kz-bookmark-item.c	2007-10-04 21:54:50 UTC (rev 3268)
@@ -49,11 +49,11 @@
 	TARGET_TEXT_URI_LIST
 };
 
-static GtkTargetEntry dnd_types[] = {
+static const GtkTargetEntry dnd_types[] = {
 	{"_KAZEHAKASE_BOOKMARKS", 0, TARGET_KAZEHAKASE_BOOKMARKS},
 };
 
-static GtkTargetEntry url_drag_types [] = 
+static const GtkTargetEntry url_drag_types [] = 
 {
 	{"_KAZEHAKASE_BOOKMARKS", 0, TARGET_KAZEHAKASE_BOOKMARKS},
         { "_NETSCAPE_URL",        0, TARGET_NETSCAPE_URL},

Modified: kazehakase/trunk/src/kz-download-box.c
===================================================================
--- kazehakase/trunk/src/kz-download-box.c	2007-10-04 05:17:39 UTC (rev 3267)
+++ kazehakase/trunk/src/kz-download-box.c	2007-10-04 21:54:50 UTC (rev 3268)
@@ -65,13 +65,13 @@
 	TARGET_TEXT_URI_LIST
 };
 
-static GtkTargetEntry url_drag_types [] = 
+static const GtkTargetEntry url_drag_types [] = 
 {
         { "_NETSCAPE_URL",   0, TARGET_NETSCAPE_URL},
 	{ "text/uri-list",   0, TARGET_TEXT_URI_LIST}
 };
 
-static guint n_url_drag_types = G_N_ELEMENTS (url_drag_types);
+static const guint n_url_drag_types = G_N_ELEMENTS (url_drag_types);
 
 G_DEFINE_TYPE(KzDownloadBox, kz_download_box, GTK_TYPE_STATUSBAR)
 

Modified: kazehakase/trunk/src/kz-notebook.c
===================================================================
--- kazehakase/trunk/src/kz-notebook.c	2007-10-04 05:17:39 UTC (rev 3267)
+++ kazehakase/trunk/src/kz-notebook.c	2007-10-04 21:54:50 UTC (rev 3268)
@@ -54,7 +54,7 @@
 	TARGET_STRING
 };
 
-static GtkTargetEntry url_drag_types [] = 
+static const GtkTargetEntry url_drag_types [] = 
 {
         { "GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, TARGET_GTK_NOTEBOOK_TAB},
         { "_NETSCAPE_URL",   0, TARGET_NETSCAPE_URL},
@@ -62,7 +62,7 @@
 	{ "text/plain",      0, TARGET_TEXT_PLAIN},
 	{ "STRING",          0, TARGET_STRING}
 };
-static guint n_url_drag_types = G_N_ELEMENTS (url_drag_types);
+static const guint n_url_drag_types = G_N_ELEMENTS (url_drag_types);
 
 #define KZ_NOTEBOOK_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), KZ_TYPE_NOTEBOOK, KzNotebookPrivate))
 




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