From 250865f24a1a5fbcacf892cf014c6b0b85428ea2 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 7 Aug 2005 20:31:32 +0000 Subject: Add switch to disable focus fix, and to disable PSM. Error out if PSM 2005-08-07 Christian Persch * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings. --- lib/widgets/ephy-icon-entry.c | 8 ++++++++ lib/widgets/ephy-icon-entry.h | 2 ++ 2 files changed, 10 insertions(+) (limited to 'lib/widgets') diff --git a/lib/widgets/ephy-icon-entry.c b/lib/widgets/ephy-icon-entry.c index 1ab2dc0b6..1950819fb 100644 --- a/lib/widgets/ephy-icon-entry.c +++ b/lib/widgets/ephy-icon-entry.c @@ -342,3 +342,11 @@ ephy_icon_entry_pack_widget (EphyIconEntry *entry, gtk_box_pack_end (GTK_BOX (priv->hbox), widget, FALSE, FALSE, /* FIXME */ 2); } } + +GtkWidget * +ephy_icon_entry_get_entry (EphyIconEntry *entry) +{ + g_return_val_if_fail (EPHY_IS_ICON_ENTRY (entry), NULL); + + return entry->entry; +} diff --git a/lib/widgets/ephy-icon-entry.h b/lib/widgets/ephy-icon-entry.h index 5077a0ecd..adff95628 100644 --- a/lib/widgets/ephy-icon-entry.h +++ b/lib/widgets/ephy-icon-entry.h @@ -69,6 +69,8 @@ void ephy_icon_entry_pack_widget (EphyIconEntry *entry, GtkWidget *widget, gboolean start); +GtkWidget *ephy_icon_entry_get_entry (EphyIconEntry *entry); + G_END_DECLS #endif -- cgit v1.2.3