~ubuntu-branches/ubuntu/saucy/parole/saucy

« back to all changes in this revision

Viewing changes to plugins/sample/sample-plugin.c

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-08-15 13:56:10 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120815135610-xkgrhm52dq81czhe
Tags: 0.3.0-0ubuntu1
* New upstream release.
* debian/patches:
  - 01_fix-implicit-dso-linking.patch: dropped, included upstream.
  - 01_fix-plugin-install-dir.patch, 02_fix-ftbfs-enable-debug.patch,
    03_fix-ftbfs-built-twice.patch: added, fix wrong install path and build
    failures.
* debian/control:
  - replace b-dep on libxfcegui4-dev with libxfce4ui-1-dev and bump
    libgtk2.0-dev to >= 2.20.
* debian/rules:
  - create empty m4 directory if missing.
  - clean up autogenerated files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * * Copyright (C) 2009-2011 Ali <aliov@xfce.org>
3
 
 *
4
 
 * Licensed under the GNU General Public License Version 2
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
 
 */
20
 
 
21
 
#ifdef HAVE_CONFIG_H
22
 
#include <config.h>
23
 
#endif
24
 
 
25
 
#include <parole/parole.h>
26
 
 
27
 
#include "sample-provider.h"
28
 
 
29
 
G_MODULE_EXPORT GType   parole_plugin_initialize (ParoleProviderPlugin *plugin);
30
 
                                                  
31
 
G_MODULE_EXPORT void    parole_plugin_shutdown   (void);
32
 
 
33
 
G_MODULE_EXPORT GType
34
 
parole_plugin_initialize (ParoleProviderPlugin *plugin)
35
 
{
36
 
    xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
37
 
    sample_provider_register_type (plugin);
38
 
    return SAMPLE_TYPE_PROVIDER;
39
 
}
40
 
 
41
 
G_MODULE_EXPORT void
42
 
parole_plugin_shutdown (void)
43
 
{
44
 
    
45
 
}