~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to bonobo/panel-module/panel-applets-bonobo-module.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-05-30 11:04:49 UTC
  • mfrom: (1.3.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 204.
  • Revision ID: james.westby@ubuntu.com-20110530110449-ut1tc5t61rpvf9e3
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2010 Novell, Inc.
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or
5
 
 * modify it under the terms of the GNU General Public License as
6
 
 * published by the Free Software Foundation; either version 2 of the
7
 
 * License, or (at your option) any later version.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful, but
10
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
 * General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17
 
 * 02111-1307, USA.
18
 
 *
19
 
 * Author: Vincent Untz <vuntz@gnome.org>
20
 
 */
21
 
 
22
 
#include "config.h"
23
 
 
24
 
#include <gio/gio.h>
25
 
 
26
 
#include <panel-applets-manager.h>
27
 
#include "panel-applets-manager-bonobo.h"
28
 
 
29
 
void
30
 
g_io_module_load (GIOModule *module)
31
 
{
32
 
        panel_applets_manager_bonobo_register (module);
33
 
}
34
 
 
35
 
void
36
 
g_io_module_unload (GIOModule *module)
37
 
{
38
 
}
39
 
 
40
 
char **
41
 
g_io_module_query (void)
42
 
{
43
 
  char *eps[] = {
44
 
    PANEL_APPLETS_MANAGER_EXTENSION_POINT_NAME,
45
 
    NULL
46
 
  };
47
 
  return g_strdupv (eps);
48
 
}