[gnome-photos] Use a semi-colon with G_DECLARE_FINAL_TYPE
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] Use a semi-colon with G_DECLARE_FINAL_TYPE
- Date: Thu, 6 Oct 2016 09:33:49 +0000 (UTC)
commit 30ea367e33caae72ad5d521281aff9111e85acd2
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Oct 5 11:31:08 2016 +0200
Use a semi-colon with G_DECLARE_FINAL_TYPE
We use a semi-colon when calling a macro elsewhere (eg., G_DEFINE_*,
EGG_DEFINE_* and EGG_COUNTER_*) to help code formatting tools format
these lines as normal statements. Let's do the same with these too.
src/photos-base-model.h | 2 +-
src/photos-camera-cache.h | 2 +-
src/photos-create-collection-icon-job.h | 2 +-
src/photos-create-collection-job.h | 2 +-
src/photos-delete-item-job.h | 2 +-
src/photos-dlna-renderers-dialog.h | 2 +-
src/photos-dlna-renderers-manager.h | 2 +-
src/photos-done-notification.h | 2 +-
src/photos-dropdown.h | 2 +-
src/photos-embed.h | 2 +-
src/photos-empty-results-box.h | 2 +-
src/photos-error-box.h | 2 +-
src/photos-share-notification.h | 2 +-
src/photos-share-point-email.h | 2 +-
src/photos-share-point-google.h | 2 +-
15 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/src/photos-base-model.h b/src/photos-base-model.h
index 9e5803b..fa40446 100644
--- a/src/photos-base-model.h
+++ b/src/photos-base-model.h
@@ -32,7 +32,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_BASE_MODEL (photos_base_model_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosBaseModel, photos_base_model, PHOTOS, BASE_MODEL, GObject)
+G_DECLARE_FINAL_TYPE (PhotosBaseModel, photos_base_model, PHOTOS, BASE_MODEL, GObject);
PhotosBaseModel *photos_base_model_new (PhotosBaseManager *mngr);
diff --git a/src/photos-camera-cache.h b/src/photos-camera-cache.h
index e68a2e6..c040a10 100644
--- a/src/photos-camera-cache.h
+++ b/src/photos-camera-cache.h
@@ -27,7 +27,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_CAMERA_CACHE (photos_camera_cache_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosCameraCache, photos_camera_cache, PHOTOS, CAMERA_CACHE, GObject)
+G_DECLARE_FINAL_TYPE (PhotosCameraCache, photos_camera_cache, PHOTOS, CAMERA_CACHE, GObject);
PhotosCameraCache *photos_camera_cache_dup_singleton (void);
diff --git a/src/photos-create-collection-icon-job.h b/src/photos-create-collection-icon-job.h
index 42a035f..77f9e48 100644
--- a/src/photos-create-collection-icon-job.h
+++ b/src/photos-create-collection-icon-job.h
@@ -34,7 +34,7 @@ G_DECLARE_FINAL_TYPE (PhotosCreateCollectionIconJob,
photos_create_collection_icon_job,
PHOTOS,
CREATE_COLLECTION_ICON_JOB,
- GObject)
+ GObject);
typedef void (*PhotosCreateCollectionIconJobCallback) (GIcon *, gpointer);
diff --git a/src/photos-create-collection-job.h b/src/photos-create-collection-job.h
index abc208e..15b8ab6 100644
--- a/src/photos-create-collection-job.h
+++ b/src/photos-create-collection-job.h
@@ -34,7 +34,7 @@ G_DECLARE_FINAL_TYPE (PhotosCreateCollectionJob,
photos_create_collection_job,
PHOTOS,
CREATE_COLLECTION_JOB,
- GObject)
+ GObject);
PhotosCreateCollectionJob *photos_create_collection_job_new (const gchar *name);
diff --git a/src/photos-delete-item-job.h b/src/photos-delete-item-job.h
index 4483b10..101c60a 100644
--- a/src/photos-delete-item-job.h
+++ b/src/photos-delete-item-job.h
@@ -30,7 +30,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_DELETE_ITEM_JOB (photos_delete_item_job_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosDeleteItemJob, photos_delete_item_job, PHOTOS, DELETE_ITEM_JOB, GObject)
+G_DECLARE_FINAL_TYPE (PhotosDeleteItemJob, photos_delete_item_job, PHOTOS, DELETE_ITEM_JOB, GObject);
PhotosDeleteItemJob *photos_delete_item_job_new (const gchar *urn);
diff --git a/src/photos-dlna-renderers-dialog.h b/src/photos-dlna-renderers-dialog.h
index 78c8469..f5e5b6f 100644
--- a/src/photos-dlna-renderers-dialog.h
+++ b/src/photos-dlna-renderers-dialog.h
@@ -30,7 +30,7 @@ G_DECLARE_FINAL_TYPE (PhotosDlnaRenderersDialog,
photos_dlna_renderers_dialog,
PHOTOS,
DLNA_RENDERERS_DIALOG,
- GtkDialog)
+ GtkDialog);
GtkWidget *photos_dlna_renderers_dialog_new (GtkWindow *parent, const gchar *urn);
diff --git a/src/photos-dlna-renderers-manager.h b/src/photos-dlna-renderers-manager.h
index bb7854d..013ba38 100644
--- a/src/photos-dlna-renderers-manager.h
+++ b/src/photos-dlna-renderers-manager.h
@@ -30,7 +30,7 @@ G_DECLARE_FINAL_TYPE (PhotosDlnaRenderersManager,
photos_dlna_renderers_manager,
PHOTOS,
DLNA_RENDERERS_MANAGER,
- GObject)
+ GObject);
PhotosDlnaRenderersManager *photos_dlna_renderers_manager_dup_singleton (void);
diff --git a/src/photos-done-notification.h b/src/photos-done-notification.h
index 3347100..6ed53f9 100644
--- a/src/photos-done-notification.h
+++ b/src/photos-done-notification.h
@@ -27,7 +27,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_DONE_NOTIFICATION (photos_done_notification_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosDoneNotification, photos_done_notification, PHOTOS, DONE_NOTIFICATION, GtkGrid)
+G_DECLARE_FINAL_TYPE (PhotosDoneNotification, photos_done_notification, PHOTOS, DONE_NOTIFICATION, GtkGrid);
void photos_done_notification_new (PhotosBaseItem *item);
diff --git a/src/photos-dropdown.h b/src/photos-dropdown.h
index b8d7171..ae3bccd 100644
--- a/src/photos-dropdown.h
+++ b/src/photos-dropdown.h
@@ -30,7 +30,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_DROPDOWN (photos_dropdown_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosDropdown, photos_dropdown, PHOTOS, DROPDOWN, GtkPopover)
+G_DECLARE_FINAL_TYPE (PhotosDropdown, photos_dropdown, PHOTOS, DROPDOWN, GtkPopover);
GtkWidget *photos_dropdown_new (void);
diff --git a/src/photos-embed.h b/src/photos-embed.h
index ab928b8..e50403d 100644
--- a/src/photos-embed.h
+++ b/src/photos-embed.h
@@ -33,7 +33,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_EMBED (photos_embed_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosEmbed, photos_embed, PHOTOS, EMBED, GtkBox)
+G_DECLARE_FINAL_TYPE (PhotosEmbed, photos_embed, PHOTOS, EMBED, GtkBox);
GtkWidget *photos_embed_new (void);
diff --git a/src/photos-empty-results-box.h b/src/photos-empty-results-box.h
index 5902855..d568154 100644
--- a/src/photos-empty-results-box.h
+++ b/src/photos-empty-results-box.h
@@ -32,7 +32,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_EMPTY_RESULTS_BOX (photos_empty_results_box_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosEmptyResultsBox, photos_empty_results_box, PHOTOS, EMPTY_RESULTS_BOX, GtkGrid)
+G_DECLARE_FINAL_TYPE (PhotosEmptyResultsBox, photos_empty_results_box, PHOTOS, EMPTY_RESULTS_BOX, GtkGrid);
GtkWidget *photos_empty_results_box_new (PhotosWindowMode mode);
diff --git a/src/photos-error-box.h b/src/photos-error-box.h
index fa68c23..d681194 100644
--- a/src/photos-error-box.h
+++ b/src/photos-error-box.h
@@ -30,7 +30,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_ERROR_BOX (photos_error_box_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosErrorBox, photos_error_box, PHOTOS, ERROR_BOX, GtkGrid)
+G_DECLARE_FINAL_TYPE (PhotosErrorBox, photos_error_box, PHOTOS, ERROR_BOX, GtkGrid);
GtkWidget *photos_error_box_new (void);
diff --git a/src/photos-share-notification.h b/src/photos-share-notification.h
index 5c4b030..62b3a1a 100644
--- a/src/photos-share-notification.h
+++ b/src/photos-share-notification.h
@@ -29,7 +29,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_SHARE_NOTIFICATION (photos_share_notification_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosShareNotification, photos_share_notification, PHOTOS, SHARE_NOTIFICATION,
GtkGrid)
+G_DECLARE_FINAL_TYPE (PhotosShareNotification, photos_share_notification, PHOTOS, SHARE_NOTIFICATION,
GtkGrid);
void photos_share_notification_new_with_error (PhotosSharePoint *share_point, GError *error);
diff --git a/src/photos-share-point-email.h b/src/photos-share-point-email.h
index c06290b..15c1673 100644
--- a/src/photos-share-point-email.h
+++ b/src/photos-share-point-email.h
@@ -26,7 +26,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_SHARE_POINT_EMAIL (photos_share_point_email_get_type ())
-G_DECLARE_FINAL_TYPE (PhotosSharePointEmail, photos_share_point_email, PHOTOS, SHARE_POINT_EMAIL,
PhotosSharePoint)
+G_DECLARE_FINAL_TYPE (PhotosSharePointEmail, photos_share_point_email, PHOTOS, SHARE_POINT_EMAIL,
PhotosSharePoint);
G_END_DECLS
diff --git a/src/photos-share-point-google.h b/src/photos-share-point-google.h
index 22e1952..d050fae 100644
--- a/src/photos-share-point-google.h
+++ b/src/photos-share-point-google.h
@@ -30,7 +30,7 @@ G_DECLARE_FINAL_TYPE (PhotosSharePointGoogle,
photos_share_point_google,
PHOTOS,
SHARE_POINT_GOOGLE,
- PhotosSharePointOnline)
+ PhotosSharePointOnline);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]