diff --git a/src/ghtml-webkit.c b/src/ghtml-webkit.c
index 8336313..a4d80dc 100644
--- a/src/ghtml-webkit.c
+++ b/src/ghtml-webkit.c
@@ -1099,7 +1099,7 @@ static void _context_menu_separator(GtkWidget * menu, gboolean * separator)
static void _on_copy_link_location(gpointer data)
{
GHtml * ghtml = data;
- GdkAtom * atom;
+ GdkAtom atom;
GtkClipboard * clipboard;
/* we can ignore errors */