Get rid of extra semicolons after macros

This commit is contained in:
Přemysl Eric Janouch 2021-10-25 00:27:32 +02:00
parent ada833a009
commit 384dad7bd8
Signed by: p
GPG Key ID: A0420B94F92B9493
13 changed files with 13 additions and 13 deletions

View File

@ -58,7 +58,7 @@ ld_category_view_init (LdCategoryViewInterface *iface)
G_DEFINE_TYPE_WITH_CODE (LdCategoryTreeView, G_DEFINE_TYPE_WITH_CODE (LdCategoryTreeView,
ld_category_tree_view, GTK_TYPE_BOX, ld_category_tree_view, GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (LD_TYPE_CATEGORY_VIEW, ld_category_view_init)); G_IMPLEMENT_INTERFACE (LD_TYPE_CATEGORY_VIEW, ld_category_view_init))
static void static void
ld_category_tree_view_class_init (LdCategoryTreeViewClass *klass) ld_category_tree_view_class_init (LdCategoryTreeViewClass *klass)

View File

@ -21,7 +21,7 @@
* hierarchies. * hierarchies.
*/ */
G_DEFINE_INTERFACE (LdCategoryView, ld_category_view, 0); G_DEFINE_INTERFACE (LdCategoryView, ld_category_view, 0)
static void static void
ld_category_view_default_init (LdCategoryViewInterface *iface) ld_category_view_default_init (LdCategoryViewInterface *iface)

View File

@ -55,7 +55,7 @@ static void on_category_notify_name (LdCategory *category,
GParamSpec *pspec, gpointer user_data); GParamSpec *pspec, gpointer user_data);
G_DEFINE_TYPE (LdCategory, ld_category, G_TYPE_OBJECT); G_DEFINE_TYPE (LdCategory, ld_category, G_TYPE_OBJECT)
static void static void
ld_category_class_init (LdCategoryClass *klass) ld_category_class_init (LdCategoryClass *klass)

View File

@ -57,7 +57,7 @@ static void on_set_points_destroy (gpointer user_data);
G_DEFINE_TYPE (LdDiagramConnection, ld_diagram_connection, G_DEFINE_TYPE (LdDiagramConnection, ld_diagram_connection,
LD_TYPE_DIAGRAM_OBJECT); LD_TYPE_DIAGRAM_OBJECT)
static void static void
ld_diagram_connection_class_init (LdDiagramConnectionClass *klass) ld_diagram_connection_class_init (LdDiagramConnectionClass *klass)

View File

@ -69,7 +69,7 @@ static void on_set_param_redo (gpointer user_data);
static void on_set_param_destroy (gpointer user_data); static void on_set_param_destroy (gpointer user_data);
G_DEFINE_TYPE (LdDiagramObject, ld_diagram_object, G_TYPE_OBJECT); G_DEFINE_TYPE (LdDiagramObject, ld_diagram_object, G_TYPE_OBJECT)
static void static void
ld_diagram_object_class_init (LdDiagramObjectClass *klass) ld_diagram_object_class_init (LdDiagramObjectClass *klass)

View File

@ -33,7 +33,7 @@ static void ld_diagram_symbol_set_property (GObject *object, guint property_id,
const GValue *value, GParamSpec *pspec); const GValue *value, GParamSpec *pspec);
G_DEFINE_TYPE (LdDiagramSymbol, ld_diagram_symbol, LD_TYPE_DIAGRAM_OBJECT); G_DEFINE_TYPE (LdDiagramSymbol, ld_diagram_symbol, LD_TYPE_DIAGRAM_OBJECT)
static void static void
ld_diagram_symbol_class_init (LdDiagramSymbolClass *klass) ld_diagram_symbol_class_init (LdDiagramSymbolClass *klass)

View File

@ -105,7 +105,7 @@ static void uninstall_object (LdDiagramObject *object, LdDiagram *self);
static void ld_diagram_unselect_all_internal (LdDiagram *self); static void ld_diagram_unselect_all_internal (LdDiagram *self);
G_DEFINE_TYPE (LdDiagram, ld_diagram, G_TYPE_OBJECT); G_DEFINE_TYPE (LdDiagram, ld_diagram, G_TYPE_OBJECT)
static void static void
ld_diagram_class_init (LdDiagramClass *klass) ld_diagram_class_init (LdDiagramClass *klass)

View File

@ -50,7 +50,7 @@ static gboolean foreach_dir (const gchar *path,
gpointer userdata, GError **error); gpointer userdata, GError **error);
G_DEFINE_TYPE (LdLibrary, ld_library, G_TYPE_OBJECT); G_DEFINE_TYPE (LdLibrary, ld_library, G_TYPE_OBJECT)
static void static void
ld_library_class_init (LdLibraryClass *klass) ld_library_class_init (LdLibraryClass *klass)

View File

@ -32,7 +32,7 @@ static const LdPointArray *ld_lua_symbol_real_get_terminals (LdSymbol *symbol);
static void ld_lua_symbol_real_draw (LdSymbol *symbol, cairo_t *cr); static void ld_lua_symbol_real_draw (LdSymbol *symbol, cairo_t *cr);
G_DEFINE_TYPE (LdLuaSymbol, ld_lua_symbol, LD_TYPE_SYMBOL); G_DEFINE_TYPE (LdLuaSymbol, ld_lua_symbol, LD_TYPE_SYMBOL)
static void static void
ld_lua_symbol_class_init (LdLuaSymbolClass *klass) ld_lua_symbol_class_init (LdLuaSymbolClass *klass)

View File

@ -150,7 +150,7 @@ static luaL_Reg ld_lua_cairo_table[] =
/* ===== Generic =========================================================== */ /* ===== Generic =========================================================== */
G_DEFINE_TYPE (LdLua, ld_lua, G_TYPE_OBJECT); G_DEFINE_TYPE (LdLua, ld_lua, G_TYPE_OBJECT)
static void static void
ld_lua_class_init (LdLuaClass *klass) ld_lua_class_init (LdLuaClass *klass)

View File

@ -38,7 +38,7 @@ static void ld_symbol_set_property (GObject *object, guint property_id,
const GValue *value, GParamSpec *pspec); const GValue *value, GParamSpec *pspec);
G_DEFINE_ABSTRACT_TYPE (LdSymbol, ld_symbol, G_TYPE_OBJECT); G_DEFINE_ABSTRACT_TYPE (LdSymbol, ld_symbol, G_TYPE_OBJECT)
static void static void
ld_symbol_class_init (LdSymbolClass *klass) ld_symbol_class_init (LdSymbolClass *klass)

View File

@ -40,7 +40,7 @@ struct _LdUndoActionPrivate
static void ld_undo_action_finalize (GObject *gobject); static void ld_undo_action_finalize (GObject *gobject);
G_DEFINE_TYPE (LdUndoAction, ld_undo_action, G_TYPE_OBJECT); G_DEFINE_TYPE (LdUndoAction, ld_undo_action, G_TYPE_OBJECT)
static void static void
ld_undo_action_class_init (LdUndoActionClass *klass) ld_undo_action_class_init (LdUndoActionClass *klass)

View File

@ -215,7 +215,7 @@ ld_window_main_new (const gchar *filename)
return self; return self;
} }
G_DEFINE_TYPE (LdWindowMain, ld_window_main, GTK_TYPE_WINDOW); G_DEFINE_TYPE (LdWindowMain, ld_window_main, GTK_TYPE_WINDOW)
static void static void
ld_window_main_class_init (LdWindowMainClass *klass) ld_window_main_class_init (LdWindowMainClass *klass)