aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favorites-menu.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-10-18 19:29:17 +0800
committerChristian Persch <chpe@src.gnome.org>2003-10-18 19:29:17 +0800
commit8e878e61d90213c812163e1cf5a56381ff8cb641 (patch)
tree9da1ee081db5ec170f6b55e2c911f64a639c8182 /src/ephy-favorites-menu.h
parented1beb51d5c674250dcb31db142c6cb27f996fcf (diff)
downloadgsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.gz
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.bz2
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.lz
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.xz
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.zst
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.zip
Get rid of the last vestige of ephy_window_update_control(), and make the
2003-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (history_site_visited_cb): * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (do_updates), (fav_removed_cb), (fav_added_cb), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): * src/ephy-favorites-menu.h: * src/ephy-window.c: * src/ephy-window.h: Get rid of the last vestige of ephy_window_update_control(), and make the favourites menu self-updating.
Diffstat (limited to 'src/ephy-favorites-menu.h')
-rw-r--r--src/ephy-favorites-menu.h29
1 files changed, 12 insertions, 17 deletions
diff --git a/src/ephy-favorites-menu.h b/src/ephy-favorites-menu.h
index 78bd74193..c7d069283 100644
--- a/src/ephy-favorites-menu.h
+++ b/src/ephy-favorites-menu.h
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2002 Ricardo Fernández Pascual
+ * Copyright (C) 2002 Ricardo Fernández Pascual
+ * Copyright (C) 2003 Marco Pesenti Gritti
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,29 +22,24 @@
#include "ephy-window.h"
-/* object forward declarations */
+G_BEGIN_DECLS
+
+#define EPHY_TYPE_FAVORITES_MENU (ephy_favorites_menu_get_type())
+#define EPHY_FAVORITES_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenu))
+#define EPHY_FAVORITES_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenuClass))
+#define EPHY_IS_FAVORITES_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_FAVORITES_MENU))
+#define EPHY_IS_FAVORITES_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_FAVORITES_MENU))
+#define EPHY_FAVORITES_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenuClass))
typedef struct _EphyFavoritesMenu EphyFavoritesMenu;
typedef struct _EphyFavoritesMenuClass EphyFavoritesMenuClass;
typedef struct _EphyFavoritesMenuPrivate EphyFavoritesMenuPrivate;
-/**
- * Editor object
- */
-
-#define EPHY_TYPE_FAVORITES_MENU (ephy_favorites_menu_get_type())
-#define EPHY_FAVORITES_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenu))
-#define EPHY_FAVORITES_MENU_CLASS(klass)(G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenuClass))
-#define EPHY_IS_FAVORITES_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_FAVORITES_MENU))
-#define EPHY_IS_FAVORITES_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_FAVORITES_MENU))
-#define EPHY_FAVORITES_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenuClass))
-
struct _EphyFavoritesMenuClass
{
GObjectClass parent_class;
};
-/* Remember: fields are public read-only */
struct _EphyFavoritesMenu
{
GObject parent_object;
@@ -51,11 +47,10 @@ struct _EphyFavoritesMenu
EphyFavoritesMenuPrivate *priv;
};
-GType ephy_favorites_menu_get_type (void);
+GType ephy_favorites_menu_get_type (void);
EphyFavoritesMenu *ephy_favorites_menu_new (EphyWindow *window);
-void ephy_favorites_menu_update (EphyFavoritesMenu *wrhm);
+G_END_DECLS
#endif
-