Fix some whitespace style errors

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5886 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Colomban Wendling 2011-08-06 18:34:14 +00:00
parent ee1d546d8f
commit ddb4ad5fa5
17 changed files with 202 additions and 515 deletions

File diff suppressed because it is too large Load Diff

View File

@ -883,8 +883,7 @@ gboolean dialogs_show_unsaved_file(GeanyDocument *doc)
#ifndef G_OS_WIN32 #ifndef G_OS_WIN32
static void static void
on_font_apply_button_clicked (GtkButton *button, on_font_apply_button_clicked(GtkButton *button, gpointer user_data)
gpointer user_data)
{ {
gchar *fontname; gchar *fontname;
@ -896,8 +895,7 @@ on_font_apply_button_clicked (GtkButton *button,
static void static void
on_font_ok_button_clicked (GtkButton *button, on_font_ok_button_clicked(GtkButton *button, gpointer user_data)
gpointer user_data)
{ {
/* We do the same thing as apply, but we close the dialog after. */ /* We do the same thing as apply, but we close the dialog after. */
on_font_apply_button_clicked(button, NULL); on_font_apply_button_clicked(button, NULL);
@ -906,8 +904,7 @@ on_font_ok_button_clicked (GtkButton *button,
static void static void
on_font_cancel_button_clicked (GtkButton *button, on_font_cancel_button_clicked(GtkButton *button, gpointer user_data)
gpointer user_data)
{ {
gtk_widget_hide(ui_widgets.open_fontsel); gtk_widget_hide(ui_widgets.open_fontsel);
} }
@ -974,9 +971,7 @@ on_input_numeric_activate(GtkEntry *entry, GtkDialog *dialog)
static void static void
on_input_dialog_response(GtkDialog *dialog, on_input_dialog_response(GtkDialog *dialog, gint response, GtkWidget *entry)
gint response,
GtkWidget *entry)
{ {
gboolean persistent = (gboolean) GPOINTER_TO_INT(g_object_get_data(G_OBJECT(dialog), "has_combo")); gboolean persistent = (gboolean) GPOINTER_TO_INT(g_object_get_data(G_OBJECT(dialog), "has_combo"));

View File

@ -1029,8 +1029,7 @@ void filetypes_select_radio_item(const GeanyFiletype *ft)
static void static void
on_filetype_change (GtkCheckMenuItem *menuitem, on_filetype_change(GtkCheckMenuItem *menuitem, gpointer user_data)
gpointer user_data)
{ {
GeanyDocument *doc = document_get_current(); GeanyDocument *doc = document_get_current();
if (ignore_callback || doc == NULL || ! gtk_check_menu_item_get_active(menuitem)) if (ignore_callback || doc == NULL || ! gtk_check_menu_item_get_active(menuitem))

View File

@ -424,8 +424,7 @@ void msgwin_status_add(const gchar *format, ...)
static void static void
on_message_treeview_clear_activate (GtkMenuItem *menuitem, on_message_treeview_clear_activate(GtkMenuItem *menuitem, gpointer user_data)
gpointer user_data)
{ {
gint tabnum = GPOINTER_TO_INT(user_data); gint tabnum = GPOINTER_TO_INT(user_data);
@ -434,8 +433,7 @@ on_message_treeview_clear_activate (GtkMenuItem *menuitem,
static void static void
on_compiler_treeview_copy_activate (GtkMenuItem *menuitem, on_compiler_treeview_copy_activate(GtkMenuItem *menuitem, gpointer user_data)
gpointer user_data)
{ {
GtkWidget *tv = NULL; GtkWidget *tv = NULL;
GtkTreeSelection *selection; GtkTreeSelection *selection;
@ -531,8 +529,7 @@ static void on_compiler_treeview_copy_all_activate(GtkMenuItem *menuitem, gpoint
static void static void
on_hide_message_window (GtkMenuItem *menuitem, on_hide_message_window(GtkMenuItem *menuitem, gpointer user_data)
gpointer user_data)
{ {
msgwin_show_hide(FALSE); msgwin_show_hide(FALSE);
} }

View File

@ -58,7 +58,7 @@ notebook_page_reordered_cb(GtkNotebook *notebook, GtkWidget *child, guint page_n
static void static void
on_window_drag_data_received(GtkWidget *widget, GdkDragContext *drag_context, on_window_drag_data_received(GtkWidget *widget, GdkDragContext *drag_context,
gint x, gint y, GtkSelectionData *data, guint info, gint x, gint y, GtkSelectionData *data, guint target_type,
guint event_time, gpointer user_data); guint event_time, gpointer user_data);
static void static void

View File

@ -892,16 +892,14 @@ void tools_word_count(void)
*/ */
#ifndef G_OS_WIN32 #ifndef G_OS_WIN32
static void static void
on_color_cancel_button_clicked (GtkButton *button, on_color_cancel_button_clicked(GtkButton *button, gpointer user_data)
gpointer user_data)
{ {
gtk_widget_hide(ui_widgets.open_colorsel); gtk_widget_hide(ui_widgets.open_colorsel);
} }
static void static void
on_color_ok_button_clicked (GtkButton *button, on_color_ok_button_clicked(GtkButton *button, gpointer user_data)
gpointer user_data)
{ {
GdkColor color; GdkColor color;
GeanyDocument *doc = document_get_current(); GeanyDocument *doc = document_get_current();