X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fplugins%2Faddress_keeper%2Faddress_keeper.c;h=a5aab85a4f1e0dfdaf7ace6313155df7ec54e123;hp=c85b6fb923eef2a5f138b6abbe61d2a0bda4273d;hb=HEAD;hpb=24d959c7d5c33eb49c138191ca1523c863e0b7d2 diff --git a/src/plugins/address_keeper/address_keeper.c b/src/plugins/address_keeper/address_keeper.c index c85b6fb92..38dc6d2ae 100644 --- a/src/plugins/address_keeper/address_keeper.c +++ b/src/plugins/address_keeper/address_keeper.c @@ -1,5 +1,5 @@ /* - * 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 @@ -33,7 +33,7 @@ #include "prefs_common.h" /** Identifier for the hook. */ -static guint hook_id; +static gulong hook_id = HOOK_NONE; /** * Extracts name from an address. @@ -248,7 +248,7 @@ gint plugin_init(gchar **error) hook_id = hooks_register_hook(COMPOSE_CHECK_BEFORE_SEND_HOOKLIST, addrk_before_send_hook, NULL); - if (hook_id == (guint) -1) { + if (hook_id == HOOK_NONE) { *error = g_strdup(_("Failed to register check before send hook")); return -1; } @@ -295,11 +295,11 @@ const gchar *plugin_desc(void) /** * Get the kind of plugin. * - * @return The "GTK2" constant. + * @return The "GTK3" constant. */ const gchar *plugin_type(void) { - return "GTK2"; + return "GTK3"; } /**