diff options
author | Jeff Garzik <jgarzik@src.gnome.org> | 1998-12-24 17:47:02 +0000 |
---|---|---|
committer | Jeff Garzik <jgarzik@src.gnome.org> | 1998-12-24 17:47:02 +0000 |
commit | 553fa4309eb849f592afa0aead4c669be21ac117 (patch) | |
tree | 9bbbce3406d299faa53aa53d5fc74789225c2c16 /gtk/gtkdnd.c | |
parent | 9775547b4a062f9b73a3498a0667e12b99313a44 (diff) | |
download | gtk+-553fa4309eb849f592afa0aead4c669be21ac117.tar.gz |
removed unused var 64-bit cast point to const data Made const-correct.
* gdk/gdkfont.c: removed unused var
* gdk/gdkim.c: 64-bit cast
* gtk/gtkaccelgroup.c: point to const data
* gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
Made const-correct.
* gtk/gtkfontsel.c: kill uninitialized var warning
* gtk/gtkselection.[ch]: (gtk_target_list_new,
gtk_target_list_add_table, gtk_selection_add_targets):
Made const-correct.
* gtk/testgtk.c: 64-bit cast
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r-- | gtk/gtkdnd.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 1aa4bbcbc2..4f74cfef88 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -698,11 +698,11 @@ gtk_drag_unhighlight (GtkWidget *widget) *************************************************************/ void -gtk_drag_dest_set (GtkWidget *widget, - GtkDestDefaults flags, - GtkTargetEntry *targets, - gint n_targets, - GdkDragAction actions) +gtk_drag_dest_set (GtkWidget *widget, + GtkDestDefaults flags, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions) { GtkDragDestSite *site; @@ -1571,11 +1571,11 @@ gtk_drag_begin (GtkWidget *widget, *************************************************************/ void -gtk_drag_source_set (GtkWidget *widget, - GdkModifierType start_button_mask, - GtkTargetEntry *targets, - gint n_targets, - GdkDragAction actions) +gtk_drag_source_set (GtkWidget *widget, + GdkModifierType start_button_mask, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions) { GtkDragSourceSite *site; |