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.
This commit is contained in:
committed by
Matthias Clasen
parent
d16ad30f40
commit
6da29b43a6
@ -136,7 +136,7 @@ static GList *contexts;
|
||||
const static struct {
|
||||
const char *atom_name;
|
||||
GdkFilterFunc func;
|
||||
} xdnd_filters[] = {
|
||||
} const xdnd_filters[] = {
|
||||
{ "XdndEnter", xdnd_enter_filter },
|
||||
{ "XdndLeave", xdnd_leave_filter },
|
||||
{ "XdndPosition", xdnd_position_filter },
|
||||
@ -1892,7 +1892,7 @@ motif_dnd_filter (GdkXEvent *xev,
|
||||
/* Utility functions */
|
||||
|
||||
static struct {
|
||||
gchar *name;
|
||||
const gchar *name;
|
||||
GdkAtom atom;
|
||||
GdkDragAction action;
|
||||
} xdnd_actions_table[] = {
|
||||
@ -3720,7 +3720,7 @@ gdk_drop_finish (GdkDragContext *context,
|
||||
void
|
||||
gdk_window_register_dnd (GdkWindow *window)
|
||||
{
|
||||
static gulong xdnd_version = 5;
|
||||
static const gulong xdnd_version = 5;
|
||||
MotifDragReceiverInfo info;
|
||||
Atom motif_drag_receiver_info_atom;
|
||||
GdkDisplay *display = gdk_drawable_get_display (window);
|
||||
|
||||
Reference in New Issue
Block a user