Get rid of extra semicolons after macros
This commit is contained in:
parent
ada833a009
commit
384dad7bd8
|
@ -58,7 +58,7 @@ ld_category_view_init (LdCategoryViewInterface *iface)
|
|||
|
||||
G_DEFINE_TYPE_WITH_CODE (LdCategoryTreeView,
|
||||
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
|
||||
ld_category_tree_view_class_init (LdCategoryTreeViewClass *klass)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* hierarchies.
|
||||
*/
|
||||
|
||||
G_DEFINE_INTERFACE (LdCategoryView, ld_category_view, 0);
|
||||
G_DEFINE_INTERFACE (LdCategoryView, ld_category_view, 0)
|
||||
|
||||
static void
|
||||
ld_category_view_default_init (LdCategoryViewInterface *iface)
|
||||
|
|
|
@ -55,7 +55,7 @@ static void on_category_notify_name (LdCategory *category,
|
|||
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
|
||||
ld_category_class_init (LdCategoryClass *klass)
|
||||
|
|
|
@ -57,7 +57,7 @@ static void on_set_points_destroy (gpointer user_data);
|
|||
|
||||
|
||||
G_DEFINE_TYPE (LdDiagramConnection, ld_diagram_connection,
|
||||
LD_TYPE_DIAGRAM_OBJECT);
|
||||
LD_TYPE_DIAGRAM_OBJECT)
|
||||
|
||||
static void
|
||||
ld_diagram_connection_class_init (LdDiagramConnectionClass *klass)
|
||||
|
|
|
@ -69,7 +69,7 @@ static void on_set_param_redo (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
|
||||
ld_diagram_object_class_init (LdDiagramObjectClass *klass)
|
||||
|
|
|
@ -33,7 +33,7 @@ static void ld_diagram_symbol_set_property (GObject *object, guint property_id,
|
|||
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
|
||||
ld_diagram_symbol_class_init (LdDiagramSymbolClass *klass)
|
||||
|
|
|
@ -105,7 +105,7 @@ static void uninstall_object (LdDiagramObject *object, 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
|
||||
ld_diagram_class_init (LdDiagramClass *klass)
|
||||
|
|
|
@ -50,7 +50,7 @@ static gboolean foreach_dir (const gchar *path,
|
|||
gpointer userdata, GError **error);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (LdLibrary, ld_library, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (LdLibrary, ld_library, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
ld_library_class_init (LdLibraryClass *klass)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
G_DEFINE_TYPE (LdLuaSymbol, ld_lua_symbol, LD_TYPE_SYMBOL);
|
||||
G_DEFINE_TYPE (LdLuaSymbol, ld_lua_symbol, LD_TYPE_SYMBOL)
|
||||
|
||||
static void
|
||||
ld_lua_symbol_class_init (LdLuaSymbolClass *klass)
|
||||
|
|
|
@ -150,7 +150,7 @@ static luaL_Reg ld_lua_cairo_table[] =
|
|||
|
||||
/* ===== Generic =========================================================== */
|
||||
|
||||
G_DEFINE_TYPE (LdLua, ld_lua, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (LdLua, ld_lua, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
ld_lua_class_init (LdLuaClass *klass)
|
||||
|
|
|
@ -38,7 +38,7 @@ static void ld_symbol_set_property (GObject *object, guint property_id,
|
|||
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
|
||||
ld_symbol_class_init (LdSymbolClass *klass)
|
||||
|
|
|
@ -40,7 +40,7 @@ struct _LdUndoActionPrivate
|
|||
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
|
||||
ld_undo_action_class_init (LdUndoActionClass *klass)
|
||||
|
|
|
@ -215,7 +215,7 @@ ld_window_main_new (const gchar *filename)
|
|||
return self;
|
||||
}
|
||||
|
||||
G_DEFINE_TYPE (LdWindowMain, ld_window_main, GTK_TYPE_WINDOW);
|
||||
G_DEFINE_TYPE (LdWindowMain, ld_window_main, GTK_TYPE_WINDOW)
|
||||
|
||||
static void
|
||||
ld_window_main_class_init (LdWindowMainClass *klass)
|
||||
|
|
Loading…
Reference in New Issue