grim/guifications3
Clone
Summary
Browse
Changes
Graph
fix a documentation goof up
2009-12-27, Gary Kramlich
9a882cfb0ec1
fix a documentation goof up
/*
* Guifications - The end-all, be-all notification framework
* Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#
include
<gf_config.h>
#endif
#include
<gflib/gf_lib.h>
#include
<gflib/gf_intl.h>
#define add_event(feed, name, i18n, desc) { \
event = gf_event_new((name), (i18n), (desc)); \
gf_feed_add_event((feed), event); \
}
/******************************************************************************
* Globals
*****************************************************************************/
static
gboolean
initialized
=
FALSE
;
/******************************************************************************
* API
*****************************************************************************/
void
purple_gf_events_init
(
GfFeed
*
feed
)
{
GfEvent
*
event
=
NULL
;
if
(
initialized
)
return
;
add_event
(
feed
,
"sign-on"
,
_
(
"Sign On"
),
_
(
"fix me"
));
add_event
(
feed
,
"sign-off"
,
_
(
"Sign Off"
),
_
(
"fix me"
));
initialized
=
TRUE
;
}