summaryrefslogtreecommitdiff
path: root/src/dlg-new.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:40:17 +0200
committerraveit65 <[email protected]>2021-12-11 15:59:33 +0100
commit6c55334ad9b03006686e2db6c6f6167677a2f510 (patch)
treeb558cc0ad6d97c36b449dbcb2afecb3b9002a565 /src/dlg-new.c
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2
engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz
Use a blank line at most
Diffstat (limited to 'src/dlg-new.c')
-rw-r--r--src/dlg-new.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/dlg-new.c b/src/dlg-new.c
index 8b78561..604167c 100644
--- a/src/dlg-new.c
+++ b/src/dlg-new.c
@@ -31,12 +31,10 @@
#include "fr-init.h"
#include "preferences.h"
-
#define GET_WIDGET(x) (GTK_WIDGET (gtk_builder_get_object (builder, (x))))
#define DEFAULT_EXTENSION ".tar.gz"
#define MEGABYTE (1024.0 * 1024.0)
-
/* called when the main dialog is closed. */
static void
destroy_cb (GtkWidget *widget,
@@ -45,7 +43,6 @@ destroy_cb (GtkWidget *widget,
g_free (data);
}
-
static void
update_sensitivity (DlgNewData *data)
{
@@ -54,7 +51,6 @@ update_sensitivity (DlgNewData *data)
gtk_widget_set_sensitive (data->n_volume_spinbutton, ! data->can_create_volumes || gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (data->n_volume_checkbutton)));
}
-
static void
update_sensitivity_for_ext (DlgNewData *data,
const char *ext)
@@ -95,7 +91,6 @@ update_sensitivity_for_ext (DlgNewData *data,
update_sensitivity (data);
}
-
static int
get_archive_type (DlgNewData *data)
{
@@ -121,7 +116,6 @@ get_archive_type (DlgNewData *data)
return get_mime_type_index (get_mime_type_from_extension (ext));
}
-
/* FIXME
static void
archive_type_combo_box_changed_cb (GtkComboBox *combo_box,
@@ -166,7 +160,6 @@ archive_type_combo_box_changed_cb (GtkComboBox *combo_box,
}
*/
-
static void
password_entry_changed_cb (GtkEditable *editable,
gpointer user_data)
@@ -174,7 +167,6 @@ password_entry_changed_cb (GtkEditable *editable,
update_sensitivity ((DlgNewData *) user_data);
}
-
static void
volume_toggled_cb (GtkToggleButton *toggle_button,
gpointer user_data)
@@ -182,7 +174,6 @@ volume_toggled_cb (GtkToggleButton *toggle_button,
update_sensitivity ((DlgNewData *) user_data);
}
-
static void
format_chooser_selection_changed_cb (EggFileFormatChooser *format_chooser,
DlgNewData *data)
@@ -227,7 +218,6 @@ format_chooser_selection_changed_cb (EggFileFormatChooser *format_chooser,
}
}
-
static char *
get_icon_name_for_type (const char *mime_type)
{
@@ -250,7 +240,6 @@ get_icon_name_for_type (const char *mime_type)
return name;
}
-
static void
options_expander_unmap_cb (GtkWidget *widget,
gpointer user_data)
@@ -258,7 +247,6 @@ options_expander_unmap_cb (GtkWidget *widget,
egg_file_format_chooser_emit_size_changed ((EggFileFormatChooser *) user_data);
}
-
static DlgNewData *
dlg_new_archive (FrWindow *window,
int *supported_types,
@@ -380,7 +368,6 @@ dlg_new_archive (FrWindow *window,
return data;
}
-
DlgNewData *
dlg_new (FrWindow *window)
{
@@ -392,7 +379,6 @@ dlg_new (FrWindow *window)
return data;
}
-
DlgNewData *
dlg_save_as (FrWindow *window,
const char *default_name)
@@ -405,7 +391,6 @@ dlg_save_as (FrWindow *window,
return data;
}
-
const char *
dlg_new_data_get_password (DlgNewData *data)
{
@@ -422,7 +407,6 @@ dlg_new_data_get_password (DlgNewData *data)
return password;
}
-
gboolean
dlg_new_data_get_encrypt_header (DlgNewData *data)
{
@@ -446,7 +430,6 @@ dlg_new_data_get_encrypt_header (DlgNewData *data)
return encrypt_header;
}
-
int
dlg_new_data_get_volume_size (DlgNewData *data)
{