diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-04-30 16:18:54 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-04-30 16:18:54 +0000 |
commit | 6573ed5f1238f9db6332667671414b496564f8cb (patch) | |
tree | 0ddb258a6b9072f8a39ddf2d656d8b852fac5156 /gtk/gtktext.c | |
parent | c75e9c1df7ecb9a7c4bb517067a0a4e3a282f61c (diff) | |
download | gtk+-6573ed5f1238f9db6332667671414b496564f8cb.tar.gz |
Fix some compiler warnings. (#433642, Kjartan Maraas)
2007-04-30 Matthias Clasen <mclasen@redhat.com>
Fix some compiler warnings. (#433642, Kjartan Maraas)
* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
(gtk_file_system_win32_create_folder):
* gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
* gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
the right type to uri_func.
* gtk/gtktext.c (gtk_text_key_press):
* gtk/gtkstatusicon.c (gtk_status_icon_get_property):
* gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
* gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
(gtk_tray_icon_delete):
* gtk/gtkprintunixdialog.c (create_main_page):
* gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
* gtk/gtkliststore.c: Adapt callbacks to GSequence types.
svn path=/trunk/; revision=17739
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r-- | gtk/gtktext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c index 20a8a9f514..4cb62fe4ce 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -2060,7 +2060,7 @@ gtk_text_key_press (GtkWidget *widget, gtk_text_move_backward_character (text); break; case 'c': - gtk_editable_copy_clipboard (text); + gtk_editable_copy_clipboard (GTK_EDITABLE (text)); break; case 'd': gtk_text_delete_forward_character (text); @@ -2087,13 +2087,13 @@ gtk_text_key_press (GtkWidget *widget, gtk_text_delete_line (text); break; case 'v': - gtk_editable_paste_clipboard (text); + gtk_editable_paste_clipboard (GTK_EDITABLE (text)); break; case 'w': gtk_text_delete_backward_word (text); break; case 'x': - gtk_editable_cut_clipboard (text); + gtk_editable_cut_clipboard (GTK_EDITABLE (text)); break; default: return_val = FALSE; |