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:
parent
ee1d546d8f
commit
ddb4ad5fa5
604
src/callbacks.c
604
src/callbacks.c
File diff suppressed because it is too large
Load Diff
@ -883,8 +883,7 @@ gboolean dialogs_show_unsaved_file(GeanyDocument *doc)
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
static void
|
||||
on_font_apply_button_clicked (GtkButton *button,
|
||||
gpointer user_data)
|
||||
on_font_apply_button_clicked(GtkButton *button, gpointer user_data)
|
||||
{
|
||||
gchar *fontname;
|
||||
|
||||
@ -896,8 +895,7 @@ on_font_apply_button_clicked (GtkButton *button,
|
||||
|
||||
|
||||
static void
|
||||
on_font_ok_button_clicked (GtkButton *button,
|
||||
gpointer user_data)
|
||||
on_font_ok_button_clicked(GtkButton *button, gpointer user_data)
|
||||
{
|
||||
/* We do the same thing as apply, but we close the dialog after. */
|
||||
on_font_apply_button_clicked(button, NULL);
|
||||
@ -906,8 +904,7 @@ on_font_ok_button_clicked (GtkButton *button,
|
||||
|
||||
|
||||
static void
|
||||
on_font_cancel_button_clicked (GtkButton *button,
|
||||
gpointer user_data)
|
||||
on_font_cancel_button_clicked(GtkButton *button, gpointer user_data)
|
||||
{
|
||||
gtk_widget_hide(ui_widgets.open_fontsel);
|
||||
}
|
||||
@ -974,9 +971,7 @@ on_input_numeric_activate(GtkEntry *entry, GtkDialog *dialog)
|
||||
|
||||
|
||||
static void
|
||||
on_input_dialog_response(GtkDialog *dialog,
|
||||
gint response,
|
||||
GtkWidget *entry)
|
||||
on_input_dialog_response(GtkDialog *dialog, gint response, GtkWidget *entry)
|
||||
{
|
||||
gboolean persistent = (gboolean) GPOINTER_TO_INT(g_object_get_data(G_OBJECT(dialog), "has_combo"));
|
||||
|
||||
|
@ -1029,8 +1029,7 @@ void filetypes_select_radio_item(const GeanyFiletype *ft)
|
||||
|
||||
|
||||
static void
|
||||
on_filetype_change (GtkCheckMenuItem *menuitem,
|
||||
gpointer user_data)
|
||||
on_filetype_change(GtkCheckMenuItem *menuitem, gpointer user_data)
|
||||
{
|
||||
GeanyDocument *doc = document_get_current();
|
||||
if (ignore_callback || doc == NULL || ! gtk_check_menu_item_get_active(menuitem))
|
||||
|
@ -424,8 +424,7 @@ void msgwin_status_add(const gchar *format, ...)
|
||||
|
||||
|
||||
static void
|
||||
on_message_treeview_clear_activate (GtkMenuItem *menuitem,
|
||||
gpointer user_data)
|
||||
on_message_treeview_clear_activate(GtkMenuItem *menuitem, gpointer user_data)
|
||||
{
|
||||
gint tabnum = GPOINTER_TO_INT(user_data);
|
||||
|
||||
@ -434,8 +433,7 @@ on_message_treeview_clear_activate (GtkMenuItem *menuitem,
|
||||
|
||||
|
||||
static void
|
||||
on_compiler_treeview_copy_activate (GtkMenuItem *menuitem,
|
||||
gpointer user_data)
|
||||
on_compiler_treeview_copy_activate(GtkMenuItem *menuitem, gpointer user_data)
|
||||
{
|
||||
GtkWidget *tv = NULL;
|
||||
GtkTreeSelection *selection;
|
||||
@ -531,8 +529,7 @@ static void on_compiler_treeview_copy_all_activate(GtkMenuItem *menuitem, gpoint
|
||||
|
||||
|
||||
static void
|
||||
on_hide_message_window (GtkMenuItem *menuitem,
|
||||
gpointer user_data)
|
||||
on_hide_message_window(GtkMenuItem *menuitem, gpointer user_data)
|
||||
{
|
||||
msgwin_show_hide(FALSE);
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ notebook_page_reordered_cb(GtkNotebook *notebook, GtkWidget *child, guint page_n
|
||||
|
||||
static void
|
||||
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);
|
||||
|
||||
static void
|
||||
|
@ -892,16 +892,14 @@ void tools_word_count(void)
|
||||
*/
|
||||
#ifndef G_OS_WIN32
|
||||
static void
|
||||
on_color_cancel_button_clicked (GtkButton *button,
|
||||
gpointer user_data)
|
||||
on_color_cancel_button_clicked(GtkButton *button, gpointer user_data)
|
||||
{
|
||||
gtk_widget_hide(ui_widgets.open_colorsel);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
on_color_ok_button_clicked (GtkButton *button,
|
||||
gpointer user_data)
|
||||
on_color_ok_button_clicked(GtkButton *button, gpointer user_data)
|
||||
{
|
||||
GdkColor color;
|
||||
GeanyDocument *doc = document_get_current();
|
||||
|
Loading…
x
Reference in New Issue
Block a user