aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2004-07-03 06:59:45 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-03 06:59:45 +0800
commit3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7 (patch)
treedba3a4158b37ca8344742026b58f70a42d694574 /lib/widgets/ephy-location-entry.h
parent099873bb3ced9f2189b87d12641a6e61de9ae5d8 (diff)
downloadgsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.tar
gsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.tar.gz
gsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.tar.bz2
gsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.tar.lz
gsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.tar.xz
gsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.tar.zst
gsoc2013-epiphany-3dfe6d63ae73d28f1dbe2f9815a02e0b2b47a2c7.zip
Add G_[BEGIN|END]_DECLS
Diffstat (limited to 'lib/widgets/ephy-location-entry.h')
-rw-r--r--lib/widgets/ephy-location-entry.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h
index a4fec27b1..08446b0d5 100644
--- a/lib/widgets/ephy-location-entry.h
+++ b/lib/widgets/ephy-location-entry.h
@@ -28,19 +28,18 @@
#include <gtk/gtktoolitem.h>
#include <gtk/gtktreemodel.h>
+G_BEGIN_DECLS
+
#define EPHY_TYPE_LOCATION_ENTRY (ephy_location_entry_get_type())
-#define EPHY_LOCATION_ENTRY(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_LOCATION_ENTRY,\
- EphyLocationEntry))
-#define EPHY_LOCATION_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_LOCATION_ENTRY,\
- EphyLocationEntryClass))
+#define EPHY_LOCATION_ENTRY(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_LOCATION_ENTRY, EphyLocationEntry))
+#define EPHY_LOCATION_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_LOCATION_ENTRY, EphyLocationEntryClass))
#define EPHY_IS_LOCATION_ENTRY(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_LOCATION_ENTRY))
#define EPHY_IS_LOCATION_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_LOCATION_ENTRY))
-#define EPHY_LOCATION_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_LOCATION_ENTRY,\
- EphyLocationEntryClass))
+#define EPHY_LOCATION_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_LOCATION_ENTRY, EphyLocationEntryClass))
-typedef struct _EphyLocationEntry EphyLocationEntry;
-typedef struct _EphyLocationEntryClass EphyLocationEntryClass;
-typedef struct _EphyLocationEntryPrivate EphyLocationEntryPrivate;
+typedef struct _EphyLocationEntry EphyLocationEntry;
+typedef struct _EphyLocationEntryClass EphyLocationEntryClass;
+typedef struct _EphyLocationEntryPrivate EphyLocationEntryPrivate;
struct _EphyLocationEntryClass
{
@@ -57,22 +56,24 @@ struct _EphyLocationEntry
EphyLocationEntryPrivate *priv;
};
-GType ephy_location_entry_get_type (void);
+GType ephy_location_entry_get_type (void);
+
+GtkWidget *ephy_location_entry_new (void);
-GtkWidget *ephy_location_entry_new (void);
+void ephy_location_entry_set_completion (EphyLocationEntry *le,
+ GtkTreeModel *model,
+ guint text_col,
+ guint action_col,
+ guint keywords_col,
+ guint relevance_col);
-void ephy_location_entry_set_completion (EphyLocationEntry *le,
- GtkTreeModel *model,
- guint text_col,
- guint action_col,
- guint keywords_col,
- guint relevance_col);
+void ephy_location_entry_set_location (EphyLocationEntry *le,
+ const char *new_location);
-void ephy_location_entry_set_location (EphyLocationEntry *le,
- const gchar *new_location);
+const char *ephy_location_entry_get_location (EphyLocationEntry *le);
-const char *ephy_location_entry_get_location (EphyLocationEntry *le);
+void ephy_location_entry_activate (EphyLocationEntry *le);
-void ephy_location_entry_activate (EphyLocationEntry *le);
+G_END_DECLS
#endif