~ubuntu-branches/debian/sid/xfce4-clipman-plugin/sid

« back to all changes in this revision

Viewing changes to panel-plugin/menu.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2009-04-21 07:48:11 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090421074811-ro4ri3jy2lhbhcij
Tags: 2:1.0.0-1
* New upstream release.
  + ship a shortcutable binary to popup plugin.               closes: #405556
* debian/control:
  - move package to xfce section.
  - bump build-deps for Xfce 4.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (c) 2008-2009 Mike Massonnet <mmassonnet@xfce.org>
 
3
 *
 
4
 *  This program is free software; you can redistribute it and/or modify
 
5
 *  it under the terms of the GNU General Public License as published by
 
6
 *  the Free Software Foundation; either version 2 of the License, or
 
7
 *  (at your option) any later version.
 
8
 *
 
9
 *  This program is distributed in the hope that it will be useful,
 
10
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 *  GNU 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 
17
 */
 
18
 
 
19
#ifndef __CLIPMAN_MENU_H__
 
20
#define __CLIPMAN_MENU_H__
 
21
 
 
22
#include <glib-object.h>
 
23
#include <gtk/gtk.h>
 
24
 
 
25
#define CLIPMAN_TYPE_MENU                  (clipman_menu_get_type())
 
26
 
 
27
#define CLIPMAN_MENU(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLIPMAN_TYPE_MENU, ClipmanMenu))
 
28
#define CLIPMAN_MENU_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), CLIPMAN_TYPE_MENU, ClipmanMenuClass))
 
29
 
 
30
#define CLIPMAN_IS_MENU(obj)               (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLIPMAN_TYPE_MENU))
 
31
#define CLIPMAN_IS_MENU_CLASS(klass)       (G_TYPE_CHECK_CLASS_TYPE ((klass), CLIPMAN_TYPE_MENU))
 
32
 
 
33
#define CLIPMAN_MENU_GET_CLASS(obj)        (G_TYPE_INSTANCE_GET_CLASS ((obj), CLIPMAN_TYPE_MENU, ClipmanMenuClass))
 
34
 
 
35
typedef struct _ClipmanMenuClass           ClipmanMenuClass;
 
36
typedef struct _ClipmanMenu                ClipmanMenu;
 
37
typedef struct _ClipmanMenuPrivate         ClipmanMenuPrivate;
 
38
 
 
39
struct _ClipmanMenuClass
 
40
{
 
41
  GtkMenuClass           parent_class;
 
42
};
 
43
 
 
44
struct _ClipmanMenu
 
45
{
 
46
  GtkMenu                parent;
 
47
 
 
48
  /* Private */
 
49
  ClipmanMenuPrivate    *priv;
 
50
};
 
51
 
 
52
GType                   clipman_menu_get_type           ();
 
53
 
 
54
GtkWidget *             clipman_menu_new                ();
 
55
 
 
56
#endif /* !__CLIPMAN_MENU_H__ */
 
57