summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-08-17 16:21:08 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-08-17 19:19:48 -0300
commit4858565c9528320baae892ab40dc32c45b216201 (patch)
tree002ee2d76414748368769061c2dbff0d22f921b5 /plugins
parent90b73edebb27153c96fad12dedab5db4ddc33b1e (diff)
downloadglade-4858565c9528320baae892ab40dc32c45b216201.tar.gz
Fix warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtk+/glade-about-dialog-editor.c2
-rw-r--r--plugins/gtk+/glade-action-bar-editor.c2
-rw-r--r--plugins/gtk+/glade-action-editor.c2
-rw-r--r--plugins/gtk+/glade-activatable-editor.c2
-rw-r--r--plugins/gtk+/glade-box-editor.c2
-rw-r--r--plugins/gtk+/glade-button-editor.c2
-rw-r--r--plugins/gtk+/glade-cell-renderer-editor.c5
-rw-r--r--plugins/gtk+/glade-entry-editor.c2
-rw-r--r--plugins/gtk+/glade-fixed.c2
-rw-r--r--plugins/gtk+/glade-image-editor.c2
-rw-r--r--plugins/gtk+/glade-image-item-editor.c2
-rw-r--r--plugins/gtk+/glade-label-editor.c2
-rw-r--r--plugins/gtk+/glade-notebook-editor.c2
-rw-r--r--plugins/gtk+/glade-recent-chooser-editor.c2
-rw-r--r--plugins/gtk+/glade-scale-button-editor.c2
-rw-r--r--plugins/gtk+/glade-store-editor.c2
-rw-r--r--plugins/gtk+/glade-tool-button-editor.c2
-rw-r--r--plugins/gtk+/glade-tool-item-group-editor.c2
-rw-r--r--plugins/gtk+/glade-treeview-editor.c2
-rw-r--r--plugins/gtk+/glade-widget-editor.c2
-rw-r--r--plugins/gtk+/glade-window-editor.c2
21 files changed, 22 insertions, 23 deletions
diff --git a/plugins/gtk+/glade-about-dialog-editor.c b/plugins/gtk+/glade-about-dialog-editor.c
index cfc4fe1a..a543abdc 100644
--- a/plugins/gtk+/glade-about-dialog-editor.c
+++ b/plugins/gtk+/glade-about-dialog-editor.c
@@ -55,7 +55,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeAboutDialogEditor, glade_about_dialog_editor, GLADE_TYPE_WINDOW_EDITOR,
G_ADD_PRIVATE (GladeAboutDialogEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_about_dialog_editor_editable_init));
+ glade_about_dialog_editor_editable_init))
static void
glade_about_dialog_editor_class_init (GladeAboutDialogEditorClass * klass)
diff --git a/plugins/gtk+/glade-action-bar-editor.c b/plugins/gtk+/glade-action-bar-editor.c
index b75e2434..8c93c477 100644
--- a/plugins/gtk+/glade-action-bar-editor.c
+++ b/plugins/gtk+/glade-action-bar-editor.c
@@ -42,7 +42,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeActionBarEditor, glade_action_bar_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeActionBarEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_action_bar_editor_editable_init));
+ glade_action_bar_editor_editable_init))
static void
glade_action_bar_editor_class_init (GladeActionBarEditorClass * klass)
diff --git a/plugins/gtk+/glade-action-editor.c b/plugins/gtk+/glade-action-editor.c
index cc78fac8..0865833c 100644
--- a/plugins/gtk+/glade-action-editor.c
+++ b/plugins/gtk+/glade-action-editor.c
@@ -47,7 +47,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeActionEditor, glade_action_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeActionEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_action_editor_editable_init));
+ glade_action_editor_editable_init))
static void
glade_action_editor_class_init (GladeActionEditorClass * klass)
diff --git a/plugins/gtk+/glade-activatable-editor.c b/plugins/gtk+/glade-activatable-editor.c
index add16fb4..057f7f4c 100644
--- a/plugins/gtk+/glade-activatable-editor.c
+++ b/plugins/gtk+/glade-activatable-editor.c
@@ -40,7 +40,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeActivatableEditor, glade_activatable_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeActivatableEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_activatable_editor_editable_init));
+ glade_activatable_editor_editable_init))
static void
glade_activatable_editor_class_init (GladeActivatableEditorClass * klass)
diff --git a/plugins/gtk+/glade-box-editor.c b/plugins/gtk+/glade-box-editor.c
index d4257656..532ba420 100644
--- a/plugins/gtk+/glade-box-editor.c
+++ b/plugins/gtk+/glade-box-editor.c
@@ -42,7 +42,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeBoxEditor, glade_box_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeBoxEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_box_editor_editable_init));
+ glade_box_editor_editable_init))
static void
glade_box_editor_class_init (GladeBoxEditorClass * klass)
diff --git a/plugins/gtk+/glade-button-editor.c b/plugins/gtk+/glade-button-editor.c
index 66688515..7d7e0541 100644
--- a/plugins/gtk+/glade-button-editor.c
+++ b/plugins/gtk+/glade-button-editor.c
@@ -77,7 +77,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeButtonEditor, glade_button_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeButtonEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_button_editor_editable_init));
+ glade_button_editor_editable_init))
static void
glade_button_editor_class_init (GladeButtonEditorClass * klass)
diff --git a/plugins/gtk+/glade-cell-renderer-editor.c b/plugins/gtk+/glade-cell-renderer-editor.c
index bb292411..cf840615 100644
--- a/plugins/gtk+/glade-cell-renderer-editor.c
+++ b/plugins/gtk+/glade-cell-renderer-editor.c
@@ -56,7 +56,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeCellRendererEditor, glade_cell_renderer_editor,
GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_cell_renderer_editor_editable_init));
+ glade_cell_renderer_editor_editable_init))
static void
@@ -148,8 +148,7 @@ glade_cell_renderer_editor_finalize (GObject * object)
GladeCellRendererEditor *renderer_editor =
GLADE_CELL_RENDERER_EDITOR (object);
- g_list_foreach (renderer_editor->checks, (GFunc) g_free, NULL);
- g_list_free (renderer_editor->checks);
+ g_list_free_full (renderer_editor->checks, g_free);
g_list_free (renderer_editor->properties);
renderer_editor->properties = NULL;
diff --git a/plugins/gtk+/glade-entry-editor.c b/plugins/gtk+/glade-entry-editor.c
index f6b20326..86eb83bd 100644
--- a/plugins/gtk+/glade-entry-editor.c
+++ b/plugins/gtk+/glade-entry-editor.c
@@ -83,7 +83,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeEntryEditor, glade_entry_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeEntryEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_entry_editor_editable_init));
+ glade_entry_editor_editable_init))
static void
glade_entry_editor_class_init (GladeEntryEditorClass * klass)
diff --git a/plugins/gtk+/glade-fixed.c b/plugins/gtk+/glade-fixed.c
index f65c8ae2..c730963e 100644
--- a/plugins/gtk+/glade-fixed.c
+++ b/plugins/gtk+/glade-fixed.c
@@ -94,7 +94,7 @@ typedef struct
static guint glade_fixed_signals[FIXED_SIGNALS];
-G_DEFINE_TYPE (GladeFixed, glade_fixed, GLADE_TYPE_WIDGET);
+G_DEFINE_TYPE (GladeFixed, glade_fixed, GLADE_TYPE_WIDGET)
/* From gtkmain.c */
static gboolean
diff --git a/plugins/gtk+/glade-image-editor.c b/plugins/gtk+/glade-image-editor.c
index 284575f5..932d273a 100644
--- a/plugins/gtk+/glade-image-editor.c
+++ b/plugins/gtk+/glade-image-editor.c
@@ -49,7 +49,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeImageEditor, glade_image_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeImageEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_image_editor_editable_init));
+ glade_image_editor_editable_init))
static void
glade_image_editor_class_init (GladeImageEditorClass * klass)
diff --git a/plugins/gtk+/glade-image-item-editor.c b/plugins/gtk+/glade-image-item-editor.c
index 859954e2..6cb8a59d 100644
--- a/plugins/gtk+/glade-image-item-editor.c
+++ b/plugins/gtk+/glade-image-item-editor.c
@@ -37,7 +37,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeImageItemEditor, glade_image_item_editor, GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_image_item_editor_editable_init));
+ glade_image_item_editor_editable_init))
static void
diff --git a/plugins/gtk+/glade-label-editor.c b/plugins/gtk+/glade-label-editor.c
index 68708862..d2334888 100644
--- a/plugins/gtk+/glade-label-editor.c
+++ b/plugins/gtk+/glade-label-editor.c
@@ -63,7 +63,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeLabelEditor, glade_label_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeLabelEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_label_editor_editable_init));
+ glade_label_editor_editable_init))
static void
glade_label_editor_class_init (GladeLabelEditorClass *klass)
diff --git a/plugins/gtk+/glade-notebook-editor.c b/plugins/gtk+/glade-notebook-editor.c
index a228158c..c645a4ea 100644
--- a/plugins/gtk+/glade-notebook-editor.c
+++ b/plugins/gtk+/glade-notebook-editor.c
@@ -44,7 +44,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeNotebookEditor, glade_notebook_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeNotebookEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_notebook_editor_editable_init));
+ glade_notebook_editor_editable_init))
static void
glade_notebook_editor_class_init (GladeNotebookEditorClass * klass)
diff --git a/plugins/gtk+/glade-recent-chooser-editor.c b/plugins/gtk+/glade-recent-chooser-editor.c
index 92043fdd..bf48f48b 100644
--- a/plugins/gtk+/glade-recent-chooser-editor.c
+++ b/plugins/gtk+/glade-recent-chooser-editor.c
@@ -37,7 +37,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeRecentChooserEditor, glade_recent_chooser_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeRecentChooserEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_recent_chooser_editor_editable_init));
+ glade_recent_chooser_editor_editable_init))
static void
glade_recent_chooser_editor_class_init (GladeRecentChooserEditorClass *klass)
diff --git a/plugins/gtk+/glade-scale-button-editor.c b/plugins/gtk+/glade-scale-button-editor.c
index 59a561c5..87f5131c 100644
--- a/plugins/gtk+/glade-scale-button-editor.c
+++ b/plugins/gtk+/glade-scale-button-editor.c
@@ -37,7 +37,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeScaleButtonEditor, glade_scale_button_editor, GLADE_TYPE_BUTTON_EDITOR,
G_ADD_PRIVATE (GladeScaleButtonEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_scale_button_editor_editable_init));
+ glade_scale_button_editor_editable_init))
static void
glade_scale_button_editor_class_init (GladeScaleButtonEditorClass * klass)
diff --git a/plugins/gtk+/glade-store-editor.c b/plugins/gtk+/glade-store-editor.c
index 207ba8c9..db33a241 100644
--- a/plugins/gtk+/glade-store-editor.c
+++ b/plugins/gtk+/glade-store-editor.c
@@ -38,7 +38,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeStoreEditor, glade_store_editor, GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_store_editor_editable_init));
+ glade_store_editor_editable_init))
static void
diff --git a/plugins/gtk+/glade-tool-button-editor.c b/plugins/gtk+/glade-tool-button-editor.c
index 93175a49..c0cacb77 100644
--- a/plugins/gtk+/glade-tool-button-editor.c
+++ b/plugins/gtk+/glade-tool-button-editor.c
@@ -64,7 +64,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeToolButtonEditor, glade_tool_button_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeToolButtonEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_tool_button_editor_editable_init));
+ glade_tool_button_editor_editable_init))
static void
glade_tool_button_editor_class_init (GladeToolButtonEditorClass *klass)
diff --git a/plugins/gtk+/glade-tool-item-group-editor.c b/plugins/gtk+/glade-tool-item-group-editor.c
index 20a7645e..15c670a8 100644
--- a/plugins/gtk+/glade-tool-item-group-editor.c
+++ b/plugins/gtk+/glade-tool-item-group-editor.c
@@ -38,7 +38,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeToolItemGroupEditor, glade_tool_item_group_editor, GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_tool_item_group_editor_editable_init));
+ glade_tool_item_group_editor_editable_init))
static void
diff --git a/plugins/gtk+/glade-treeview-editor.c b/plugins/gtk+/glade-treeview-editor.c
index 5e198065..4faadb3f 100644
--- a/plugins/gtk+/glade-treeview-editor.c
+++ b/plugins/gtk+/glade-treeview-editor.c
@@ -39,7 +39,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeTreeViewEditor, glade_tree_view_editor, GTK_TYPE_BOX,
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_tree_view_editor_editable_init));
+ glade_tree_view_editor_editable_init))
static void
diff --git a/plugins/gtk+/glade-widget-editor.c b/plugins/gtk+/glade-widget-editor.c
index 99dae4f7..9abf3719 100644
--- a/plugins/gtk+/glade-widget-editor.c
+++ b/plugins/gtk+/glade-widget-editor.c
@@ -56,7 +56,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeWidgetEditor, glade_widget_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeWidgetEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_widget_editor_editable_init));
+ glade_widget_editor_editable_init))
static void
glade_widget_editor_class_init (GladeWidgetEditorClass *klass)
diff --git a/plugins/gtk+/glade-window-editor.c b/plugins/gtk+/glade-window-editor.c
index e7620232..98278481 100644
--- a/plugins/gtk+/glade-window-editor.c
+++ b/plugins/gtk+/glade-window-editor.c
@@ -50,7 +50,7 @@ static GladeEditableInterface *parent_editable_iface;
G_DEFINE_TYPE_WITH_CODE (GladeWindowEditor, glade_window_editor, GLADE_TYPE_EDITOR_SKELETON,
G_ADD_PRIVATE (GladeWindowEditor)
G_IMPLEMENT_INTERFACE (GLADE_TYPE_EDITABLE,
- glade_window_editor_editable_init));
+ glade_window_editor_editable_init))
static void
glade_window_editor_class_init (GladeWindowEditorClass *klass)