summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-01 06:25:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-01 06:25:55 +0000
commit6da29b43a6bd8ddc8fd69cc316013c8ce64a2ef3 (patch)
tree20858afbdb6c86363b39ebf6f123fb74ae380ae4 /gtk/gtkfilesel.c
parentd16ad30f403a1823f8cb813415a3aa1030f5a37e (diff)
downloadgdk-pixbuf-6da29b43a6bd8ddc8fd69cc316013c8ce64a2ef3.tar.gz
gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c
2005-03-01 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeyuni.c * gdk/gdkpixbuf-drawable.c * gdk/gdkrgb.c * gdk/x11/gdkdnd-x11.c * gdk/x11/gdkevents-x11.c * gdk/x11/gdkproperty-x11.c * gdk/x11/gdkvisual-x11.c * gdk-pixbuf/gdk-pixbuf.c * gtk/gtkaction.c * gtk/gtkbindings.c * gtk/gtkcolorbutton.c * gtk/gtkcombo.c * gtk/gtkcontainer.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkiconview.c * gtk/gtkinputdialog.c * gtk/gtkitemfactory.c * gtk/gtkmenu.c * gtk/gtktextview.c * gtk/gtktooltips.c * gtk/gtktreedatalist.c * gtk/gtkuimanager.c * gtk/tree_minus.xpm * gtk/tree_plus.xpm * gtk/xdgmime/xdgmime.c * gtk/xdgmime/xdgmime.h: Move constant data to .rodata.
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 4b62d2b0f..a36aa4484 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -1068,7 +1068,7 @@ file_selection_setup_dnd (GtkFileSelection *filesel)
static const GtkTargetEntry drop_types[] = {
{ "text/uri-list", 0, TARGET_URILIST}
};
- static gint n_drop_types = sizeof(drop_types)/sizeof(drop_types[0]);
+ static const gint n_drop_types = sizeof(drop_types)/sizeof(drop_types[0]);
static const GtkTargetEntry drag_types[] = {
{ "text/uri-list", 0, TARGET_URILIST},
{ "UTF8_STRING", 0, TARGET_UTF8_STRING },
@@ -1076,7 +1076,7 @@ file_selection_setup_dnd (GtkFileSelection *filesel)
{ "TEXT", 0, 0 },
{ "COMPOUND_TEXT", 0, 0 }
};
- static gint n_drag_types = sizeof(drag_types)/sizeof(drag_types[0]);
+ static const gint n_drag_types = sizeof(drag_types)/sizeof(drag_types[0]);
gtk_drag_dest_set (GTK_WIDGET (filesel),
GTK_DEST_DEFAULT_ALL,
@@ -3207,7 +3207,7 @@ check_dir (gchar *dir_name,
*/
static struct {
- gchar *name;
+ const gchar *name;
gboolean present;
struct stat statbuf;
} no_stat_dirs[] = {