/*
- * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Claws Mail -- a GTK based, lightweight, and fast e-mail client
* Copyright (C) 2009-2015 Ricardo Mones and the Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
#include "prefs_common.h"
/** Identifier for the hook. */
-static guint hook_id;
+static gulong hook_id = HOOK_NONE;
/**
* Extracts name from an address.
hook_id = hooks_register_hook(COMPOSE_CHECK_BEFORE_SEND_HOOKLIST,
addrk_before_send_hook, NULL);
- if (hook_id == -1) {
+ if (hook_id == HOOK_NONE) {
*error = g_strdup(_("Failed to register check before send hook"));
return -1;
}
/**
* Get the kind of plugin.
*
- * @return The "GTK2" constant.
+ * @return The "GTK3" constant.
*/
const gchar *plugin_type(void)
{
- return "GTK2";
+ return "GTK3";
}
/**