mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 16:33:40 +02:00
Drop trailing semi-colon from G_DEFINE_ macro
It's unnecessary, and only adds visual noise; we have been fairly inconsistent in the past, but the semi-colon-less version clearly dominates in the code base. https://bugzilla.gnome.org/show_bug.cgi?id=669355
This commit is contained in:
committed by
Philip Withnall
parent
fb7d2184a6
commit
f952fdf3fc
@@ -170,7 +170,7 @@ typedef struct {
|
||||
typedef GMenuModelClass RandomMenuClass;
|
||||
|
||||
static GType random_menu_get_type (void);
|
||||
G_DEFINE_TYPE (RandomMenu, random_menu, G_TYPE_MENU_MODEL);
|
||||
G_DEFINE_TYPE (RandomMenu, random_menu, G_TYPE_MENU_MODEL)
|
||||
|
||||
static gboolean
|
||||
random_menu_is_mutable (GMenuModel *model)
|
||||
@@ -346,7 +346,7 @@ typedef struct {
|
||||
typedef GMenuModelClass MirrorMenuClass;
|
||||
|
||||
static GType mirror_menu_get_type (void);
|
||||
G_DEFINE_TYPE (MirrorMenu, mirror_menu, G_TYPE_MENU_MODEL);
|
||||
G_DEFINE_TYPE (MirrorMenu, mirror_menu, G_TYPE_MENU_MODEL)
|
||||
|
||||
static gboolean
|
||||
mirror_menu_is_mutable (GMenuModel *model)
|
||||
|
Reference in New Issue
Block a user