aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sample/sample.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-07-13 17:07:08 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-13 17:07:08 +0800
commit42d8a8cb91e46a1ac29334c054ac95c5cfc9a348 (patch)
tree1a866ff0a076494805766a2f0834be80c5824cc2 /plugins/sample/sample.c
parent9f70e82e7fd4d8888f55c63cf3eb911d27b0fbec (diff)
downloadgsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.tar
gsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.tar.gz
gsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.tar.bz2
gsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.tar.lz
gsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.tar.xz
gsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.tar.zst
gsoc2013-epiphany-42d8a8cb91e46a1ac29334c054ac95c5cfc9a348.zip
Add plugins dir
2003-07-13 Marco Pesenti Gritti <marco@it.gnome.org> * Makefile.am: Add plugins dir * plugins/sample/Makefile.am: * plugins/sample/sample.c: (window_focus_in_cb): Make it compile with not installed headers * src/Makefile.am: Remove an obsolete include dir
Diffstat (limited to 'plugins/sample/sample.c')
-rw-r--r--plugins/sample/sample.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/sample/sample.c b/plugins/sample/sample.c
index c36352e6f..fb5e9ed64 100644
--- a/plugins/sample/sample.c
+++ b/plugins/sample/sample.c
@@ -20,8 +20,8 @@
#include <gmodule.h>
#include <glib-object.h>
-#include "epiphany/ephy-shell.h"
-#include "epiphany/session.h"
+#include "ephy-shell.h"
+#include "session.h"
static void
bmk_added (EphyNode *node, EphyNode *child)
@@ -53,13 +53,15 @@ switch_page_cb (GtkWidget *widget)
g_print ("New active tab is %p\n", tab);
}
-static void
+static gboolean
window_focus_in_cb (GtkWidget *widget, GdkEventFocus *event)
{
EphyTab *tab;
tab = ephy_window_get_active_tab (EPHY_WINDOW (widget));
g_print ("New active tab is %p\n", tab);
+
+ return FALSE;
}
static void