Compare commits
No commits in common. "7492764666848bd62282ad2de9b2f8fe055e01d4" and "f60150e8c7d2e9741375d3e4e2e5c8956b9b6be9" have entirely different histories.
7492764666
...
f60150e8c7
@ -32,7 +32,7 @@ set(SOURCE
|
||||
${LAYER_SELECTOR_SOURCES}
|
||||
)
|
||||
|
||||
add_compile_options(-Wall -Wold-style-declaration -Wuninitialized -Wmaybe-uninitialized -Wunused-parameter)
|
||||
add_compile_options(-Wall -Wold-style-declaration -Wuninitialized -Wmaybe-uninitialized)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/resources/resources.c)
|
||||
add_dependencies(${PROJECT_NAME} glib-resources)
|
||||
|
@ -42,7 +42,6 @@ enum {
|
||||
|
||||
void lib_cell_renderer_init(LibCellRenderer *self)
|
||||
{
|
||||
(void)self;
|
||||
/* Nothing to do */
|
||||
}
|
||||
|
||||
@ -112,8 +111,6 @@ static void lib_cell_renderer_get_property(GObject *object,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
(void)value;
|
||||
|
||||
switch (param_id) {
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, param_id, pspec);
|
||||
|
@ -1999,7 +1999,7 @@ MAN_LINKS = NO
|
||||
# captures the structure of the code including all documentation.
|
||||
# The default value is: NO.
|
||||
|
||||
GENERATE_XML = YES
|
||||
GENERATE_XML = NO
|
||||
|
||||
# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
|
||||
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
||||
|
@ -1,8 +1,8 @@
|
||||
/**
|
||||
* @defgroup LaTeX-Renderer LaTeX / TikZ Renderer
|
||||
* @defgroup LaTeX-Renderer LaTeX/TikZ Renderer
|
||||
* @ingroup GdsOutputRenderer
|
||||
*
|
||||
* This is the class implementing the \f$\mbox{\LaTeX}\f$ / TikZ output rendering
|
||||
* This is the class implementing the Latex / tikz output rendering
|
||||
|
||||
* @subsection LaTeXRendererProps Properties
|
||||
* This class inherits all properties from its parent @ref GdsOutputRenderer.
|
||||
|
@ -86,7 +86,6 @@ G_DEFINE_TYPE(GdsRenderGui, gds_render_gui, G_TYPE_OBJECT)
|
||||
static gboolean on_window_close(gpointer window, GdkEvent *event, gpointer user)
|
||||
{
|
||||
GdsRenderGui *self;
|
||||
(void)event;
|
||||
|
||||
self = RENDERER_GUI(user);
|
||||
/* Don't close window in case of error */
|
||||
|
@ -91,17 +91,6 @@ void bounding_box_prepare_empty(union bounding_box *box)
|
||||
box->vectors.upper_right.y = -DBL_MAX;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Calculate path miter points for a pathwith a \p width and the anchors \p a \p b \p c.
|
||||
* @param[in] a
|
||||
* @param[in] b
|
||||
* @param[in] c
|
||||
* @param[out] m1
|
||||
* @param[out] m2
|
||||
* @param[in] width
|
||||
* @return Miter points in \p m1 and \p m2
|
||||
* @note This function is currently unused (and untested). Ignore any compiler warning regarding this function.
|
||||
*/
|
||||
static void calculate_path_miter_points(struct vector_2d *a, struct vector_2d *b, struct vector_2d *c,
|
||||
struct vector_2d *m1, struct vector_2d *m2, double width)
|
||||
{
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/** @addtogroup Cairo-Renderer
|
||||
/** @addtogroup CairoRenderer
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
@ -158,14 +158,6 @@ static void layer_selector_drag_data_received(GtkWidget *widget, GdkDragContext
|
||||
GtkWidget *source;
|
||||
int pos;
|
||||
|
||||
/* Handle unused parameters */
|
||||
(void)context;
|
||||
(void)x;
|
||||
(void)y;
|
||||
(void)info;
|
||||
(void)time;
|
||||
(void)data;
|
||||
|
||||
row_before = GTK_WIDGET(g_object_get_data(G_OBJECT(widget), "row-before"));
|
||||
row_after = GTK_WIDGET(g_object_get_data(G_OBJECT(widget), "row-after"));
|
||||
|
||||
@ -204,10 +196,6 @@ static gboolean layer_selector_drag_motion(GtkWidget *widget, GdkDragContext *co
|
||||
GtkWidget *drag_row;
|
||||
GtkWidget *row_before;
|
||||
GtkWidget *row_after;
|
||||
(void)context;
|
||||
(void)x;
|
||||
(void)y;
|
||||
(void)time;
|
||||
|
||||
row = GTK_WIDGET(gtk_list_box_get_row_at_y(GTK_LIST_BOX(widget), y));
|
||||
|
||||
@ -261,8 +249,6 @@ static void layer_selector_drag_leave(GtkWidget *widget, GdkDragContext *context
|
||||
GtkWidget *drag_row;
|
||||
GtkWidget *row_before;
|
||||
GtkWidget *row_after;
|
||||
(void)context;
|
||||
(void)time;
|
||||
|
||||
drag_row = GTK_WIDGET(g_object_get_data(G_OBJECT(widget), "drag-row"));
|
||||
row_before = GTK_WIDGET(g_object_get_data(G_OBJECT(widget), "row-before"));
|
||||
@ -678,7 +664,6 @@ static void layer_selector_load_mapping_clicked(GtkWidget *button, gpointer user
|
||||
GtkWidget *dialog;
|
||||
gint res;
|
||||
gchar *file_name;
|
||||
(void)button;
|
||||
|
||||
sel = LAYER_SELECTOR(user_data);
|
||||
|
||||
@ -738,7 +723,6 @@ static void layer_selector_save_mapping_clicked(GtkWidget *button, gpointer user
|
||||
gint res;
|
||||
gchar *file_name;
|
||||
LayerSelector *sel;
|
||||
(void)button;
|
||||
|
||||
sel = LAYER_SELECTOR(user_data);
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
* @author Mario Hüttel <mario.huettel@gmx.net>
|
||||
*/
|
||||
|
||||
/** @addtogroup Cairo-Renderer
|
||||
/** @addtogroup CairoRenderer
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
@ -321,8 +321,6 @@ static void gds_output_renderer_async_wrapper(GTask *task,
|
||||
GdsOutputRenderer *renderer;
|
||||
GdsOutputRendererPrivate *priv;
|
||||
int ret;
|
||||
(void)task_data;
|
||||
(void)cancellable;
|
||||
|
||||
renderer = GDS_RENDER_OUTPUT_RENDERER(source_object);
|
||||
priv = gds_output_renderer_get_instance_private(renderer);
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
/**
|
||||
* @file latex-output.c
|
||||
* @brief LaTeX Output Renderer
|
||||
* @brief LaTeX output renderer
|
||||
* @author Mario Hüttel <mario.huettel@gmx.net>
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user