Skip to content

Commit

Permalink
[cosmetic] Remove unused PLUGIN_PREFS_PREFIX
Browse files Browse the repository at this point in the history
Signed-off-by: Konrad Gräfe <konradgraefe@aol.com>
  • Loading branch information
kgraefe committed Jan 6, 2019
1 parent 3e0ec5c commit e468455
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion configure.ac.in
Expand Up @@ -15,7 +15,6 @@ AC_DEFINE_UNQUOTED(PLUGIN_WEBSITE, ["https://github.com/kgraefe/pidgin-znc-helpe
AC_DEFINE_UNQUOTED(PLUGIN_ID, ["gtk-freakazoid-znchelper"], [Define the plugin ID])
AC_DEFINE_UNQUOTED(PLUGIN_STATIC_NAME, ["znc-helper"], [Define the plugin name])
AC_DEFINE_UNQUOTED(PLUGIN_AUTHOR, ["Konrad Gräfe <konradgraefe@aol.com>"], [Define the plugin author])
AC_DEFINE_UNQUOTED(PLUGIN_PREFS_PREFIX, ["/plugins/gtk/znchelper"], [Define the plugin preference path])

# Checks for programs.
AC_PROG_CC
Expand Down
2 changes: 0 additions & 2 deletions scripts/gen-mingw-config_h.sh
Expand Up @@ -10,7 +10,6 @@ PLUGIN_AUTHOR=$(grep 'PLUGIN_AUTHOR' configure.ac | cut -d\" -f2)
PLUGIN_ID=$(grep 'PLUGIN_ID' configure.ac | cut -d\" -f2)
PLUGIN_STATIC_NAME=$(grep 'PLUGIN_STATIC_NAME' configure.ac | cut -d\" -f2)
PLUGIN_WEBSITE=$(grep 'PLUGIN_WEBSITE' configure.ac | cut -d\" -f2)
PLUGIN_PREFS_PREFIX=$(grep 'PLUGIN_PREFS_PREFIX' configure.ac | cut -d\" -f2)
PLUGIN_VERSION=$(./scripts/gen-version.sh)


Expand All @@ -25,5 +24,4 @@ cat << EOF
#define PLUGIN_STATIC_NAME "$PLUGIN_STATIC_NAME"
#define PLUGIN_VERSION "$PLUGIN_VERSION"
#define PLUGIN_WEBSITE "$PLUGIN_WEBSITE"
#define PLUGIN_PREFS_PREFIX "$PLUGIN_PREFS_PREFIX"
EOF
3 changes: 0 additions & 3 deletions src/znchelper.c
Expand Up @@ -573,9 +573,6 @@ static void init_plugin(PurplePlugin *plugin) {
info.name = _("ZNC Helper");
info.summary = _("Pidgin ZNC Helper parses IRC bouncer timestamps and displays them as normal timestamps.");
info.description = _("Pidgin ZNC Helper parses IRC bouncer timestamps and displays them as normal timestamps.");

purple_prefs_add_none(PLUGIN_PREFS_PREFIX);
purple_prefs_add_int(PLUGIN_PREFS_PREFIX "/offset", 0);
}

PURPLE_INIT_PLUGIN(PLUGIN_STATIC_NAME, init_plugin, info)

0 comments on commit e468455

Please sign in to comment.