Commit d8a65c52 authored by Garrett Regier's avatar Garrett Regier

Updated coding style

parent e5aaba73
......@@ -126,7 +126,9 @@ response_cb (GeditCloseConfirmationDialog *dlg,
}
}
else
{
priv->selected_documents = NULL;
}
}
static void
......@@ -173,7 +175,9 @@ set_logout_mode (GeditCloseConfirmationDialog *dlg,
if (gedit_document_get_readonly (doc) ||
gedit_document_is_untitled (doc))
{
stock_id = GTK_STOCK_SAVE_AS;
}
}
gtk_dialog_add_button (GTK_DIALOG (dlg),
......@@ -271,7 +275,7 @@ gedit_close_confirmation_dialog_get_property (GObject *object,
priv = GEDIT_CLOSE_CONFIRMATION_DIALOG (object)->priv;
switch( prop_id )
switch (prop_id)
{
case PROP_UNSAVED_DOCUMENTS:
g_value_set_pointer (value, priv->unsaved_documents);
......@@ -313,7 +317,7 @@ gedit_close_confirmation_dialog_class_init (GeditCloseConfirmationDialogClass *k
"Whether the dialog is in logout mode",
FALSE,
(G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY)));
G_PARAM_CONSTRUCT_ONLY)));
}
static GList *
......@@ -700,12 +704,15 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
gtk_label_set_selectable (GTK_LABEL (primary_label), TRUE);
if (priv->disable_save_to_disk)
{
str = g_strdup_printf (
ngettext ("Changes to %d document will be permanently lost.",
"Changes to %d documents will be permanently lost.",
g_list_length (priv->unsaved_documents)),
g_list_length (priv->unsaved_documents));
}
else
{
str = g_strdup_printf (
ngettext ("There is %d document with unsaved changes. "
"Save changes before closing?",
......@@ -713,6 +720,7 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
"Save changes before closing?",
g_list_length (priv->unsaved_documents)),
g_list_length (priv->unsaved_documents));
}
markup_str = g_strconcat ("<span weight=\"bold\" size=\"larger\">", str, "</span>", NULL);
g_free (str);
......@@ -746,10 +754,14 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
/* Secondary label */
if (priv->disable_save_to_disk)
{
secondary_label = gtk_label_new (_("Saving has been disabled by the system administrator."));
}
else
{
secondary_label = gtk_label_new (_("If you don't save, "
"all your changes will be permanently lost."));
}
gtk_box_pack_start (GTK_BOX (vbox2), secondary_label, FALSE, FALSE, 0);
gtk_label_set_line_wrap (GTK_LABEL (secondary_label), TRUE);
......@@ -791,4 +803,5 @@ gedit_close_confirmation_dialog_get_unsaved_documents (GeditCloseConfirmationDia
return dlg->priv->unsaved_documents;
}
/* ex:ts=8:noet: */
......@@ -208,8 +208,10 @@ add_button_clicked_callback (GtkWidget *button,
while (tmp != NULL)
{
if (g_slist_find (dialog->priv->show_in_menu_list, tmp->data) == NULL)
{
dialog->priv->show_in_menu_list = g_slist_prepend (dialog->priv->show_in_menu_list,
tmp->data);
}
tmp = g_slist_next (tmp);
}
......
......@@ -654,7 +654,8 @@ install_scheme_clicked (GtkButton *button,
GtkWidget *chooser;
GtkFileFilter *filter;
if (dlg->priv->install_scheme_file_schooser != NULL) {
if (dlg->priv->install_scheme_file_schooser != NULL)
{
gtk_window_present (GTK_WINDOW (dlg->priv->install_scheme_file_schooser));
gtk_widget_grab_focus (dlg->priv->install_scheme_file_schooser);
return;
......@@ -764,7 +765,9 @@ uninstall_scheme_clicked (GtkButton *button,
new_iter_set = TRUE;
}
else
{
new_iter_set = TRUE;
}
gtk_tree_path_free (path);
......@@ -1046,4 +1049,5 @@ gedit_show_preferences_dialog (GeditWindow *parent)
gtk_window_present (GTK_WINDOW (preferences_dialog));
}
/* ex:ts=8:noet: */
......@@ -632,4 +632,5 @@ gedit_search_dialog_get_wrap_around (GeditSearchDialog *dialog)
return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->priv->wrap_around_checkbutton));
}
/* ex:ts=8:noet: */
......@@ -91,7 +91,7 @@ GtkWidget *gedit_search_dialog_new (GtkWindow *parent,
gboolean show_replace);
void gedit_search_dialog_present_with_time (GeditSearchDialog *dialog,
guint32 timestamp);
guint32 timestamp);
gboolean gedit_search_dialog_get_show_replace (GeditSearchDialog *dialog);
......@@ -126,4 +126,5 @@ gboolean gedit_search_dialog_get_wrap_around (GeditSearchDialog *dialog);
G_END_DECLS
#endif /* __GEDIT_SEARCH_DIALOG_H__ */
/* ex:ts=8:noet: */
......@@ -91,7 +91,7 @@ gedit_style_scheme_dialog_class_init (GeditStyleSchemeDialogClass *klass)
object_class->finalize = gedit_style_scheme_dialog_finalize;
g_type_class_add_private (object_class, sizeof(GeditStyleSchemeDialogPrivate));
g_type_class_add_private (object_class, sizeof (GeditStyleSchemeDialogPrivate));
}
static void
......@@ -105,7 +105,7 @@ dialog_response_handler (GtkDialog *dlg,
case GTK_RESPONSE_HELP:
gedit_help_display (GTK_WINDOW (dlg),
NULL,
"gedit-prefs"); // FIXME
"gedit-prefs"); /* FIXME */
g_signal_stop_emission_by_name (dlg, "response");
......@@ -219,4 +219,5 @@ gedit_style_scheme_dialog_new (GeditStyleSchemeGenerator *generator)
return GTK_WIDGET (dlg);
}
/* ex:ts=8:noet: */
......@@ -53,7 +53,7 @@ struct _GeditStyleSchemeGeneratorClass
GObjectClass base_class;
};
GType gedit_style_scheme_generator_get_type (void) G_GNUC_CONST;
GType gedit_style_scheme_generator_get_type (void) G_GNUC_CONST;
GeditStyleSchemeGenerator* gedit_style_scheme_generator_new (GtkSourceStyleScheme *scheme);
......
......@@ -63,7 +63,7 @@ gedit_app_osx_show_help_impl (GeditApp *app,
{
gboolean ret = FALSE;
if (name == NULL || strcmp(name, "gedit.xml") == NULL || strcmp(name, "gedit") == 0)
if (name == NULL || strcmp (name, "gedit.xml") == NULL || strcmp (name, "gedit") == 0)
{
gchar *link;
......@@ -161,7 +161,7 @@ gedit_app_osx_init (GeditAppOSX *self)
ige_mac_menu_set_global_key_handler_enabled (FALSE);
/* manually set name and icon */
g_set_application_name("gedit");
g_set_application_name ("gedit");
gtk_window_set_default_icon_name ("accessories-text-editor");
}
......
......@@ -40,18 +40,25 @@ typedef struct _GeditAppOSX GeditAppOSX;
typedef struct _GeditAppOSXClass GeditAppOSXClass;
typedef struct _GeditAppOSXPrivate GeditAppOSXPrivate;
struct _GeditAppOSX {
struct _GeditAppOSX
{
GeditApp parent;
};
struct _GeditAppOSXClass {
struct _GeditAppOSXClass
{
GeditAppClass parent_class;
};
GType gedit_app_osx_get_type (void) G_GNUC_CONST;
void gedit_app_osx_set_window_title (GeditAppOSX *app, GeditWindow *window, const gchar *title, GeditDocument *document);
gboolean gedit_app_osx_show_url (GeditAppOSX *app, const gchar *url);
gboolean gedit_app_osx_show_help (GeditAppOSX *app, const gchar *link_id);
GType gedit_app_osx_get_type (void) G_GNUC_CONST;
void gedit_app_osx_set_window_title (GeditAppOSX *app,
GeditWindow *window,
const gchar *title,
GeditDocument *document);
gboolean gedit_app_osx_show_url (GeditAppOSX *app,
const gchar *url);
gboolean gedit_app_osx_show_help (GeditAppOSX *app,
const gchar *link_id);
G_END_DECLS
......
......@@ -39,19 +39,20 @@ typedef struct _GeditAppWin32 GeditAppWin32;
typedef struct _GeditAppWin32Class GeditAppWin32Class;
typedef struct _GeditAppWin32Private GeditAppWin32Private;
struct _GeditAppWin32 {
struct _GeditAppWin32
{
GeditApp parent;
};
struct _GeditAppWin32Class {
struct _GeditAppWin32Class
{
GeditAppClass parent_class;
};
GType gedit_app_win32_get_type (void) G_GNUC_CONST;
GType gedit_app_win32_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GEDIT_APP_WIN32_H__ */
/* ex:ts=8:noet: */
......@@ -39,15 +39,17 @@ typedef struct _GeditAppX11 GeditAppX11;
typedef struct _GeditAppX11Class GeditAppX11Class;
typedef struct _GeditAppX11Private GeditAppX11Private;
struct _GeditAppX11 {
struct _GeditAppX11
{
GeditApp parent;
};
struct _GeditAppX11Class {
struct _GeditAppX11Class
{
GeditAppClass parent_class;
};
GType gedit_app_x11_get_type (void) G_GNUC_CONST;
GType gedit_app_x11_get_type (void) G_GNUC_CONST;
G_END_DECLS
......
......@@ -271,7 +271,7 @@ gedit_app_class_init (GeditAppClass *klass)
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
g_type_class_add_private (object_class, sizeof(GeditAppPrivate));
g_type_class_add_private (object_class, sizeof (GeditAppPrivate));
}
static gboolean
......@@ -560,10 +560,12 @@ window_delete_event (GeditWindow *window,
(GEDIT_WINDOW_STATE_SAVING |
GEDIT_WINDOW_STATE_PRINTING |
GEDIT_WINDOW_STATE_SAVING_SESSION))
return TRUE;
{
return TRUE;
}
_gedit_cmd_file_quit (NULL, window);
/* Do not destroy the window */
return TRUE;
}
......
......@@ -72,7 +72,7 @@ struct _GeditAppClass
{
GObjectClass parent_class;
gboolean (*last_window_destroyed) (GeditApp *app);
gboolean (*last_window_destroyed) (GeditApp *app);
gboolean (*show_help) (GeditApp *app,
GtkWindow *parent,
......@@ -107,20 +107,20 @@ GType gedit_app_get_type (void) G_GNUC_CONST;
GeditApp *gedit_app_get_default (void);
GeditWindow *gedit_app_create_window (GeditApp *app,
GdkScreen *screen);
GeditWindow *gedit_app_create_window (GeditApp *app,
GdkScreen *screen);
const GList *gedit_app_get_windows (GeditApp *app);
GeditWindow *gedit_app_get_active_window (GeditApp *app);
const GList *gedit_app_get_windows (GeditApp *app);
GeditWindow *gedit_app_get_active_window (GeditApp *app);
/* Returns a newly allocated list with all the documents */
GList *gedit_app_get_documents (GeditApp *app);
GList *gedit_app_get_documents (GeditApp *app);
/* Returns a newly allocated list with all the views */
GList *gedit_app_get_views (GeditApp *app);
GList *gedit_app_get_views (GeditApp *app);
/* Lockdown state */
GeditLockdownMask gedit_app_get_lockdown (GeditApp *app);
GeditLockdownMask gedit_app_get_lockdown (GeditApp *app);
gboolean gedit_app_show_help (GeditApp *app,
GtkWindow *parent,
......@@ -137,10 +137,10 @@ void gedit_app_set_window_title (GeditApp *app,
GeditWindow *_gedit_app_restore_window (GeditApp *app,
const gchar *role);
GeditWindow *_gedit_app_get_window_in_viewport (GeditApp *app,
GdkScreen *screen,
gint workspace,
gint viewport_x,
gint viewport_y);
GdkScreen *screen,
gint workspace,
gint viewport_x,
gint viewport_y);
void _gedit_app_set_lockdown (GeditApp *app,
GeditLockdownMask lockdown);
void _gedit_app_set_lockdown_bit (GeditApp *app,
......@@ -150,8 +150,8 @@ void _gedit_app_set_lockdown_bit (GeditApp *app,
* This one is a gedit-window function, but we declare it here to avoid
* #include headaches since it needs the GeditLockdownMask declaration.
*/
void _gedit_window_set_lockdown (GeditWindow *window,
GeditLockdownMask lockdown);
void _gedit_window_set_lockdown (GeditWindow *window,
GeditLockdownMask lockdown);
/* global print config */
GtkPageSetup *_gedit_app_get_default_page_setup (GeditApp *app);
......@@ -161,7 +161,7 @@ GtkPrintSettings *_gedit_app_get_default_print_settings (GeditApp *app);
void _gedit_app_set_default_print_settings (GeditApp *app,
GtkPrintSettings *settings);
GSettings *_gedit_app_get_settings (GeditApp *app);
GSettings *_gedit_app_get_settings (GeditApp *app);
G_END_DECLS
......
......@@ -26,7 +26,7 @@ G_DEFINE_TYPE (GeditCloseButton, gedit_close_button, GTK_TYPE_BUTTON)
static void
gedit_close_button_style_set (GtkWidget *button,
GtkStyle *previous_style)
GtkStyle *previous_style)
{
gint h, w;
......
......@@ -39,17 +39,19 @@ typedef struct _GeditCloseButton GeditCloseButton;
typedef struct _GeditCloseButtonClass GeditCloseButtonClass;
typedef struct _GeditCloseButtonPrivate GeditCloseButtonPrivate;
struct _GeditCloseButton {
struct _GeditCloseButton
{
GtkButton parent;
};
struct _GeditCloseButtonClass {
struct _GeditCloseButtonClass
{
GtkButtonClass parent_class;
};
GType gedit_close_button_get_type (void) G_GNUC_CONST;
GtkWidget *gedit_close_button_new (void);
GtkWidget *gedit_close_button_new (void);
G_END_DECLS
......
......@@ -104,7 +104,7 @@ gedit_command_line_class_init (GeditCommandLineClass *klass)
object_class->finalize = gedit_command_line_finalize;
object_class->constructor = gedit_command_line_constructor;
g_type_class_add_private (object_class, sizeof(GeditCommandLinePrivate));
g_type_class_add_private (object_class, sizeof (GeditCommandLinePrivate));
}
static void
......@@ -357,6 +357,7 @@ gboolean
gedit_command_line_get_new_window (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), FALSE);
return command_line->priv->new_window;
}
......@@ -373,6 +374,7 @@ gboolean
gedit_command_line_get_new_document (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), FALSE);
return command_line->priv->new_document;
}
......@@ -380,6 +382,7 @@ gint
gedit_command_line_get_line_position (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), 0);
return command_line->priv->line_position;
}
......@@ -387,6 +390,7 @@ gint
gedit_command_line_get_column_position (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), 0);
return command_line->priv->column_position;
}
......@@ -394,6 +398,7 @@ GSList *
gedit_command_line_get_file_list (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), NULL);
return command_line->priv->file_list;
}
......@@ -401,6 +406,7 @@ const GeditEncoding *
gedit_command_line_get_encoding (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), NULL);
return command_line->priv->encoding;
}
......@@ -408,6 +414,7 @@ gboolean
gedit_command_line_get_wait (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), FALSE);
return command_line->priv->wait;
}
......@@ -415,6 +422,7 @@ gboolean
gedit_command_line_get_background (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), FALSE);
return command_line->priv->background;
}
......@@ -422,6 +430,7 @@ gboolean
gedit_command_line_get_standalone (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), FALSE);
return command_line->priv->standalone;
}
......@@ -429,6 +438,7 @@ const gchar *
gedit_command_line_get_geometry (GeditCommandLine *command_line)
{
g_return_val_if_fail (GEDIT_IS_COMMAND_LINE (command_line), NULL);
return command_line->priv->geometry;
}
......
......@@ -42,37 +42,42 @@ typedef struct _GeditCommandLinePrivate GeditCommandLinePrivate;
typedef struct _GeditCommandLineGeometry GeditCommandLineGeometry;
struct _GeditCommandLine {
struct _GeditCommandLine
{
GInitiallyUnowned parent;
GeditCommandLinePrivate *priv;
};
struct _GeditCommandLineClass {
struct _GeditCommandLineClass
{
GObjectClass parent_class;
};
GType gedit_command_line_get_type (void) G_GNUC_CONST;
GType gedit_command_line_get_type (void) G_GNUC_CONST;
GeditCommandLine *gedit_command_line_get_default (void);
GeditCommandLine *gedit_command_line_get_default (void);
gboolean gedit_command_line_parse (GeditCommandLine *command_line, int *argc, char ***argv);
gboolean gedit_command_line_parse (GeditCommandLine *command_line,
int *argc,
char ***argv);
gboolean gedit_command_line_get_new_window (GeditCommandLine *command_line);
void gedit_command_line_set_new_window (GeditCommandLine *command_line, gboolean new_window);
gboolean gedit_command_line_get_new_window (GeditCommandLine *command_line);
void gedit_command_line_set_new_window (GeditCommandLine *command_line,
gboolean new_window);
gboolean gedit_command_line_get_new_document (GeditCommandLine *command_line);
gint gedit_command_line_get_line_position (GeditCommandLine *command_line);
gint gedit_command_line_get_column_position (GeditCommandLine *command_line);
gboolean gedit_command_line_get_new_document (GeditCommandLine *command_line);
gint gedit_command_line_get_line_position (GeditCommandLine *command_line);
gint gedit_command_line_get_column_position (GeditCommandLine *command_line);
GSList *gedit_command_line_get_file_list (GeditCommandLine *command_line);
const GeditEncoding *gedit_command_line_get_encoding (GeditCommandLine *command_line);
GSList *gedit_command_line_get_file_list (GeditCommandLine *command_line);
const GeditEncoding *gedit_command_line_get_encoding (GeditCommandLine *command_line);
gboolean gedit_command_line_get_wait (GeditCommandLine *command_line);
gboolean gedit_command_line_get_background (GeditCommandLine *command_line);
gboolean gedit_command_line_get_standalone (GeditCommandLine *command_line);
gboolean gedit_command_line_get_wait (GeditCommandLine *command_line);
gboolean gedit_command_line_get_background (GeditCommandLine *command_line);
gboolean gedit_command_line_get_standalone (GeditCommandLine *command_line);
const gchar *gedit_command_line_get_geometry (GeditCommandLine *command_line);
const gchar *gedit_command_line_get_geometry (GeditCommandLine *command_line);
G_END_DECLS
......
......@@ -43,7 +43,7 @@
void
_gedit_cmd_documents_previous_document (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GtkNotebook *notebook;
......@@ -55,7 +55,7 @@ _gedit_cmd_documents_previous_document (GtkAction *action,
void
_gedit_cmd_documents_next_document (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GtkNotebook *notebook;
......@@ -67,7 +67,7 @@ _gedit_cmd_documents_next_document (GtkAction *action,
void
_gedit_cmd_documents_move_to_new_window (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditNotebook *old_notebook;
GeditTab *tab;
......@@ -85,4 +85,5 @@ _gedit_cmd_documents_move_to_new_window (GtkAction *action,
_gedit_window_move_tab_to_new_window (window, tab);
}
/* ex:ts=8:noet: */
......@@ -44,7 +44,7 @@
void
_gedit_cmd_edit_undo (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
GtkSourceBuffer *active_document;
......@@ -65,7 +65,7 @@ _gedit_cmd_edit_undo (GtkAction *action,
void
_gedit_cmd_edit_redo (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
GtkSourceBuffer *active_document;
......@@ -86,7 +86,7 @@ _gedit_cmd_edit_redo (GtkAction *action,
void
_gedit_cmd_edit_cut (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
......@@ -102,7 +102,7 @@ _gedit_cmd_edit_cut (GtkAction *action,
void
_gedit_cmd_edit_copy (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
......@@ -118,7 +118,7 @@ _gedit_cmd_edit_copy (GtkAction *action,
void
_gedit_cmd_edit_paste (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
......@@ -134,7 +134,7 @@ _gedit_cmd_edit_paste (GtkAction *action,
void
_gedit_cmd_edit_delete (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
......@@ -150,7 +150,7 @@ _gedit_cmd_edit_delete (GtkAction *action,
void
_gedit_cmd_edit_select_all (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditView *active_view;
......@@ -166,10 +166,11 @@ _gedit_cmd_edit_select_all (GtkAction *action,
void
_gedit_cmd_edit_preferences (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
gedit_debug (DEBUG_COMMANDS);
gedit_show_preferences_dialog (window);
}
/* ex:ts=8:noet: */
......@@ -73,7 +73,8 @@ _gedit_cmd_file_new (GtkAction *action,
}
static GeditTab *
get_tab_from_file (GList *docs, GFile *file)
get_tab_from_file (GList *docs,
GFile *file)
{
GeditTab *tab = NULL;
......@@ -104,7 +105,8 @@ get_tab_from_file (GList *docs, GFile *file)
}
static gboolean
is_duplicated_file (GSList *files, GFile *file)
is_duplicated_file (GSList *files,
GFile *file)
{
while (files != NULL)
{
......@@ -486,7 +488,8 @@ _gedit_cmd_file_open (GtkAction *action,
}
/* File saving */
static void file_save_as (GeditTab *tab, GeditWindow *window);
static void file_save_as (GeditTab *tab,
GeditWindow *window);
static gboolean
is_read_only (GFile *location)
......@@ -520,7 +523,8 @@ is_read_only (GFile *location)
/* FIXME: modify this dialog to be similar to the one provided by gtk+ for
* already existing files - Paolo (Oct. 11, 2005) */
static gboolean
replace_read_only_file (GtkWindow *parent, GFile *file)
replace_read_only_file (GtkWindow *parent,
GFile *file)
{
GtkWidget *dialog;
gint ret;
......@@ -954,7 +958,7 @@ file_save (GeditTab *tab,
void
_gedit_cmd_file_save (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditTab *tab;
......@@ -969,7 +973,7 @@ _gedit_cmd_file_save (GtkAction *action,
void
_gedit_cmd_file_save_as (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
GeditTab *tab;
......@@ -1123,7 +1127,7 @@ gedit_commands_save_all_documents (GeditWindow *window)
void
_gedit_cmd_file_save_all (GtkAction *action,
GeditWindow *window)
GeditWindow *window)
{
gedit_commands_save_all_documents (window);
}
......@@ -1311,7 +1315,7 @@ revert_dialog (GeditWindow *window,
void
_gedit_cmd_file_revert (GtkAction *action,