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.h | |
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.h')
-rw-r--r-- | gtk/gtkdnd.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h index c665a17365..90513d51a9 100644 --- a/gtk/gtkdnd.h +++ b/gtk/gtkdnd.h @@ -58,11 +58,11 @@ GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); void gtk_drag_highlight (GtkWidget *widget); void gtk_drag_unhighlight (GtkWidget *widget); -void gtk_drag_dest_set (GtkWidget *widget, - GtkDestDefaults flags, - GtkTargetEntry *targets, - gint n_targets, - GdkDragAction actions); +void gtk_drag_dest_set (GtkWidget *widget, + GtkDestDefaults flags, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); void gtk_drag_dest_set_proxy (GtkWidget *widget, GdkWindow *proxy_window, @@ -77,11 +77,11 @@ void gtk_drag_dest_unset (GtkWidget *widget); /* Source side */ -void gtk_drag_source_set (GtkWidget *widget, - GdkModifierType start_button_mask, - GtkTargetEntry *targets, - gint n_targets, - GdkDragAction actions); +void gtk_drag_source_set (GtkWidget *widget, + GdkModifierType start_button_mask, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); void gtk_drag_source_unset (GtkWidget *widget); |