diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-30 18:54:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-30 18:54:39 +0000 |
commit | c9b4b05b3544b434730eb218e848a1a441d5ffb2 (patch) | |
tree | c1550ddf398d2030ed25ee98e8342fcb41ac1c87 /src/gui_gtk.c | |
parent | aa35dd1667c5903cdcc32ebe10f27bc6683c68a1 (diff) | |
download | vim-git-c9b4b05b3544b434730eb218e848a1a441d5ffb2.tar.gz |
updated for version 7.0gv7.0g
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r-- | src/gui_gtk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c index 6c8694859..cc75c6768 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -291,7 +291,7 @@ toolbar_button_focus_in_event(GtkWidget *widget, GdkEventFocus *event, gpointer * immediately pass it to mainwin. */ if (gtk_socket_id != 0) - gtk_widget_grab_focus(gui.drawarea); + gtk_widget_grab_focus(gui.drawarea); return TRUE; } @@ -742,9 +742,9 @@ gui_mch_add_menu_item(vimmenu_T *menu, int idx) menu, idx); - if (gtk_socket_id != 0) - gtk_signal_connect(GTK_OBJECT(menu->id), "focus_in_event", - GTK_SIGNAL_FUNC(toolbar_button_focus_in_event), NULL); + if (gtk_socket_id != 0) + gtk_signal_connect(GTK_OBJECT(menu->id), "focus_in_event", + GTK_SIGNAL_FUNC(toolbar_button_focus_in_event), NULL); CONVERT_TO_UTF8_FREE(text); CONVERT_TO_UTF8_FREE(tooltip); @@ -1307,11 +1307,11 @@ gui_mch_browse(int saving, gui.browse_fname = NULL; if (gtk_dialog_run(GTK_DIALOG(fc)) == GTK_RESPONSE_ACCEPT) { - char *filename; + char *filename; - filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(fc)); - gui.browse_fname = (char_u *)g_strdup(filename); - g_free(filename); + filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(fc)); + gui.browse_fname = (char_u *)g_strdup(filename); + g_free(filename); } gtk_widget_destroy(GTK_WIDGET(fc)); |