Skip to content

Commit

Permalink
Use a blank line at most
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj authored and raveit65 committed Nov 20, 2021
1 parent 785eb88 commit 3bd33d4
Show file tree
Hide file tree
Showing 35 changed files with 0 additions and 118 deletions.
2 changes: 0 additions & 2 deletions cut-n-paste/toolbar-editor/egg-editable-toolbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ configure_item_cursor (GtkToolItem *item,
}
}


static void
configure_item_tooltip (GtkToolItem *item)
{
Expand All @@ -522,7 +521,6 @@ configure_item_tooltip (GtkToolItem *item)
}
}


static void
connect_widget_signals (GtkWidget *proxy, EggEditableToolbar *etoolbar)
{
Expand Down
1 change: 0 additions & 1 deletion cut-n-paste/toolbar-editor/egg-toolbar-editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ static const GtkTargetEntry source_drag_types[] = {
{EGG_TOOLBAR_ITEM_TYPE, GTK_TARGET_SAME_APP, 0},
};


static void egg_toolbar_editor_finalize (GObject *object);
static void update_editor_sheet (EggToolbarEditor *editor);

Expand Down
2 changes: 0 additions & 2 deletions cut-n-paste/toolbar-editor/egg-toolbar-editor.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ typedef struct EggToolbarEditorClass EggToolbarEditorClass;
#define EGG_IS_TOOLBAR_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TOOLBAR_EDITOR))
#define EGG_TOOLBAR_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TOOLBAR_EDITOR, EggToolbarEditorClass))


typedef struct EggToolbarEditor EggToolbarEditor;
typedef struct EggToolbarEditorPrivate EggToolbarEditorPrivate;

Expand All @@ -51,7 +50,6 @@ struct EggToolbarEditorClass
GtkVBoxClass parent_class;
};


GType egg_toolbar_editor_get_type (void);
GtkWidget *egg_toolbar_editor_new (GtkUIManager *manager,
EggToolbarsModel *model);
Expand Down
2 changes: 0 additions & 2 deletions cut-n-paste/toolbar-editor/egg-toolbars-model.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ is_unique (EggToolbarsModel *model,
EggToolbarsItem *idata2;
GNode *toolbar, *item;


for(toolbar = g_node_first_child (model->priv->toolbars);
toolbar != NULL; toolbar = g_node_next_sibling (toolbar))
{
Expand Down Expand Up @@ -330,7 +329,6 @@ egg_toolbars_model_set_flags (EggToolbarsModel *model,
0, toolbar_position);
}


char *
egg_toolbars_model_get_data (EggToolbarsModel *model,
GdkAtom type,
Expand Down
7 changes: 0 additions & 7 deletions jpegutils/jpegint-8a.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* applications using the library shouldn't need to include this file.
*/


/* Declarations for both compression & decompression */

typedef enum { /* Operating modes for buffer controllers */
Expand Down Expand Up @@ -39,7 +38,6 @@ typedef enum { /* Operating modes for buffer controllers */
#define DSTATE_RDCOEFS 209 /* reading file in jpeg_read_coefficients */
#define DSTATE_STOPPING 210 /* looking for EOI in jpeg_finish_decompress */


/* Declarations for compression modules */

/* Master control module */
Expand Down Expand Up @@ -133,7 +131,6 @@ struct jpeg_marker_writer {
JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
};


/* Declarations for decompression modules */

/* Master control module */
Expand Down Expand Up @@ -259,15 +256,13 @@ struct jpeg_color_quantizer {
JMETHOD(void, new_color_map, (j_decompress_ptr cinfo));
};


/* Miscellaneous useful macros */

#undef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#undef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))


/* We assume that right shift corresponds to signed division by 2 with
* rounding towards minus infinity. This is correct for typical "arithmetic
* shift" instructions that shift in copies of the sign bit. But some
Expand All @@ -289,7 +284,6 @@ struct jpeg_color_quantizer {
#define RIGHT_SHIFT(x,shft) ((x) >> (shft))
#endif


/* Short forms of external names for systems with brain-damaged linkers. */

#ifdef NEED_SHORT_EXTERNAL_NAMES
Expand Down Expand Up @@ -335,7 +329,6 @@ struct jpeg_color_quantizer {
#define jpeg_aritab jAriTab
#endif /* NEED_SHORT_EXTERNAL_NAMES */


/* Compression module initialization routines */
EXTERN(void) jinit_compress_master JPP((j_compress_ptr cinfo));
EXTERN(void) jinit_c_master_control JPP((j_compress_ptr cinfo,
Expand Down
17 changes: 0 additions & 17 deletions jpegutils/transupp-6b.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ enum {
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))


static long
jround_up (long a, long b)
/* Compute a rounded up to next multiple of b, ie, ceil(a/b)*b */
Expand All @@ -69,7 +68,6 @@ jround_up (long a, long b)
return a - (a % b);
}


static void
jcopy_block_row (JBLOCKROW input_row, JBLOCKROW output_row,
JDIMENSION num_blocks)
Expand All @@ -85,7 +83,6 @@ jcopy_block_row (JBLOCKROW input_row, JBLOCKROW output_row,
}
}


/*
* Lossless image transformation routines. These routines work on DCT
* coefficient arrays and thus do not require any lossy decompression
Expand Down Expand Up @@ -123,7 +120,6 @@ jcopy_block_row (JBLOCKROW input_row, JBLOCKROW output_row,
* dimensions and ignore the source's.
*/


static void
do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays)
Expand Down Expand Up @@ -172,7 +168,6 @@ do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


static void
do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays,
Expand Down Expand Up @@ -243,7 +238,6 @@ do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


static void
do_transpose (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays,
Expand Down Expand Up @@ -287,7 +281,6 @@ do_transpose (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


static void
do_rot_90 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays,
Expand Down Expand Up @@ -351,7 +344,6 @@ do_rot_90 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


static void
do_rot_270 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays,
Expand Down Expand Up @@ -415,7 +407,6 @@ do_rot_270 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


static void
do_rot_180 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays,
Expand Down Expand Up @@ -516,7 +507,6 @@ do_rot_180 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


static void
do_transverse (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays,
Expand Down Expand Up @@ -615,7 +605,6 @@ do_transverse (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


/* Request any required workspace.
*
* We allocate the workspace virtual arrays from the source decompression
Expand Down Expand Up @@ -695,7 +684,6 @@ jtransform_request_workspace (j_decompress_ptr srcinfo,
info->workspace_coef_arrays = coef_arrays;
}


/* Transpose destination image parameters */

static void
Expand Down Expand Up @@ -735,7 +723,6 @@ transpose_critical_parameters (j_compress_ptr dstinfo)
}
}


/* Trim off any partial iMCUs on the indicated destination edge */

static void
Expand Down Expand Up @@ -778,7 +765,6 @@ trim_bottom_edge (j_compress_ptr dstinfo)
dstinfo->image_height = MCU_rows * (max_v_samp_factor * DCTSIZE);
}


/* Adjust output image parameters as needed.
*
* This must be called after jpeg_copy_critical_parameters()
Expand Down Expand Up @@ -867,7 +853,6 @@ jtransform_adjust_parameters (j_decompress_ptr srcinfo,
return src_coef_arrays;
}


/* Execute the actual transformation, if any.
*
* This must be called *after* jpeg_write_coefficients, because it depends
Expand Down Expand Up @@ -912,7 +897,6 @@ jtransform_execute_transformation (j_decompress_ptr srcinfo,
}
}


/* Setup decompression object to save desired markers in memory.
* This must be called before jpeg_read_header() to have the desired effect.
*/
Expand Down Expand Up @@ -988,5 +972,4 @@ jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
}
}


#endif /* HAVE_LIBJPEG */
5 changes: 0 additions & 5 deletions jpegutils/transupp-6b.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@

#ifdef HAVE_LIBJPEG


#ifndef TRANSUPP_H
#define TRANSUPP_H

#include <jpeglib.h>


typedef enum {
JXFORM_NONE, /* no transformation */
JXFORM_FLIP_H, /* horizontal flip */
Expand Down Expand Up @@ -111,7 +109,6 @@ typedef struct {
jvirt_barray_ptr * workspace_coef_arrays; /* workspace for transformations */
} jpeg_transform_info;


/* Request any required workspace */
void jtransform_request_workspace (j_decompress_ptr srcinfo,
jpeg_transform_info *info);
Expand All @@ -129,7 +126,6 @@ void jtransform_execute_transformation (j_decompress_ptr srcinfo,
jvirt_barray_ptr *src_coef_arrays,
jpeg_transform_info *info);


/*
* Support for copying optional markers from source to destination file.
*/
Expand All @@ -151,7 +147,6 @@ void jcopy_markers_execute (j_decompress_ptr srcinfo,
j_compress_ptr dstinfo,
JCOPY_OPTION option);


#endif /* TRANSUPP_H */

#endif /* HAVE_LIBJPEG */
Loading

0 comments on commit 3bd33d4

Please sign in to comment.