[libpeas] Added G_GNUC_CONST to _get_type() that were missing it



commit 5bd0a60b604d5db237f0e1c6e06aa19451bfa557
Author: Garrett Regier <alias301 gmail com>
Date:   Tue Dec 14 10:43:39 2010 -0800

    Added G_GNUC_CONST to _get_type() that were missing it

 libpeas-gtk/peas-gtk-configurable.h |    2 +-
 libpeas/peas-plugin-loader.h        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libpeas-gtk/peas-gtk-configurable.h b/libpeas-gtk/peas-gtk-configurable.h
index 0adf549..5a41d0d 100644
--- a/libpeas-gtk/peas-gtk-configurable.h
+++ b/libpeas-gtk/peas-gtk-configurable.h
@@ -45,7 +45,7 @@ struct _PeasGtkConfigurableInterface
   GtkWidget  *(*create_configure_widget)  (PeasGtkConfigurable  *configurable);
 };
 
-GType       peas_gtk_configurable_get_type                (void);
+GType       peas_gtk_configurable_get_type                (void)  G_GNUC_CONST;
 GtkWidget  *peas_gtk_configurable_create_configure_widget (PeasGtkConfigurable  *configurable);
 
 G_END_DECLS
diff --git a/libpeas/peas-plugin-loader.h b/libpeas/peas-plugin-loader.h
index 00d9030..01f2668 100644
--- a/libpeas/peas-plugin-loader.h
+++ b/libpeas/peas-plugin-loader.h
@@ -65,7 +65,7 @@ struct _PeasPluginLoaderClass {
   void          (*garbage_collect)        (PeasPluginLoader *loader);
 };
 
-GType         peas_plugin_loader_get_type             (void);
+GType         peas_plugin_loader_get_type             (void)  G_GNUC_CONST;
 
 void          peas_plugin_loader_add_module_directory (PeasPluginLoader *loader,
                                                        const gchar      *module_dir);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]