The new shell provides an implementation of CcShell and also removes the dependency on libslab.
74 lines
2.1 KiB
C
74 lines
2.1 KiB
C
/*
|
|
* Copyright (c) 2010 Intel, Inc.
|
|
*
|
|
* The Control Center 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 2 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
* The Control Center 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 the Control Center; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*
|
|
* Author: Thomas Wood <thos@gnome.org>
|
|
*/
|
|
|
|
#ifndef _SHELL_SEARCH_RENDERER_H
|
|
#define _SHELL_SEARCH_RENDERER_H
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define SHELL_TYPE_SEARCH_RENDERER shell_search_renderer_get_type()
|
|
|
|
#define SHELL_SEARCH_RENDERER(obj) \
|
|
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
|
SHELL_TYPE_SEARCH_RENDERER, ShellSearchRenderer))
|
|
|
|
#define SHELL_SEARCH_RENDERER_CLASS(klass) \
|
|
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
|
SHELL_TYPE_SEARCH_RENDERER, ShellSearchRendererClass))
|
|
|
|
#define SHELL_IS_SEARCH_RENDERER(obj) \
|
|
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
|
|
SHELL_TYPE_SEARCH_RENDERER))
|
|
|
|
#define SHELL_IS_SEARCH_RENDERER_CLASS(klass) \
|
|
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
|
|
SHELL_TYPE_SEARCH_RENDERER))
|
|
|
|
#define SHELL_SEARCH_RENDERER_GET_CLASS(obj) \
|
|
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
|
SHELL_TYPE_SEARCH_RENDERER, ShellSearchRendererClass))
|
|
|
|
typedef struct _ShellSearchRenderer ShellSearchRenderer;
|
|
typedef struct _ShellSearchRendererClass ShellSearchRendererClass;
|
|
typedef struct _ShellSearchRendererPrivate ShellSearchRendererPrivate;
|
|
|
|
struct _ShellSearchRenderer
|
|
{
|
|
GtkCellRenderer parent;
|
|
|
|
ShellSearchRendererPrivate *priv;
|
|
};
|
|
|
|
struct _ShellSearchRendererClass
|
|
{
|
|
GtkCellRendererClass parent_class;
|
|
};
|
|
|
|
GType shell_search_renderer_get_type (void) G_GNUC_CONST;
|
|
|
|
ShellSearchRenderer *shell_search_renderer_new (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* _SHELL_SEARCH_RENDERER_H */
|