Commit 12885744 authored by Martin Baulig's avatar Martin Baulig Committed by Martin Baulig

Use G_BEGIN/END_DECLS everywhere.

2001-08-06  Martin Baulig  <baulig@suse.de>

	* *.h: Use G_BEGIN/END_DECLS everywhere.
parent eb884f79
2001-08-06 Martin Baulig <baulig@suse.de>
* *.h: Use G_BEGIN/END_DECLS everywhere.
2001-08-06 Martin Baulig <baulig@suse.de>
* Makefile.am: Updated for the GNOME 2 platform.
......
......@@ -10,7 +10,7 @@
#include "border-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_ALIGNED_POS (aligned_pos_get_type ())
#define ALIGNED_POS(o) (GTK_CHECK_CAST ((o), TYPE_ALIGNED_POS, AlignedPos))
......
......@@ -20,7 +20,7 @@
#define HAVE_APPLET_QUEUE_RESIZE 1
#define HAVE_APPLET_SIZE_ULTRA_TINY_AND_RIDICULOUS 1
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef GNOME_Panel_OrientType PanelOrientType;
#define ORIENT_UP GNOME_Panel_ORIENT_UP
......
......@@ -4,7 +4,7 @@
#include <glib.h>
#include "panel-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define EMPTY_ID "Empty" /*this applet should not be loaded*/
#define MENU_ID "Menu"
......
......@@ -9,7 +9,7 @@
#include "panel-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_BASEP_WIDGET (basep_widget_get_type ())
#define BASEP_WIDGET(o) (GTK_CHECK_CAST((o), TYPE_BASEP_WIDGET, BasePWidget))
......
......@@ -10,7 +10,7 @@
#include "basep-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_BORDER_POS (border_pos_get_type ())
#define BORDER_POS(o) (GTK_CHECK_CAST ((o), TYPE_BORDER_POS, BorderPos))
......
#ifndef CONDITIONAL_H
#define CONDITIONAL_H
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
gboolean conditional_parse (const char *conditional, int len);
......
......@@ -4,7 +4,7 @@
#include <panel-widget.h>
#include "applet.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef enum {
DISTRIBUTION_UNKNOWN = 0,
......
......@@ -11,7 +11,7 @@
#include "basep-widget.h"
#include "drawer.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_DRAWER_POS (drawer_pos_get_type ())
#define DRAWER_POS(o) (GTK_CHECK_CAST ((o), TYPE_DRAWER_POS, DrawerPos))
......
......@@ -4,7 +4,7 @@
#include "panel.h"
#include "panel_config.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define DRAWER_PANEL_KEY "drawer_panel"
......
......@@ -10,7 +10,7 @@
#include "border-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
/* even though edge_pos is currently structurally
the same as border_pos, make it its own type
......
......@@ -8,7 +8,7 @@
#include <libgnorba/gnorba.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef struct _Extern Extern;
struct _Extern {
......
......@@ -9,7 +9,7 @@
#include "basep-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_FLOATING_POS (floating_pos_get_type ())
#define FLOATING_POS(o) (GTK_CHECK_CAST ((o), TYPE_FLOATING_POS, FloatingPos))
......
......@@ -12,7 +12,7 @@
#include "panel-types.h"
#include "gwmh.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_FOOBAR_WIDGET (foobar_widget_get_type ())
#define FOOBAR_WIDGET(o) (GTK_CHECK_CAST ((o), TYPE_FOOBAR_WIDGET, FoobarWidget))
......
......@@ -13,7 +13,7 @@
#include <panel-widget.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef struct {
AppletInfo *info;
......
......@@ -10,7 +10,7 @@
#include <panel-widget.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
void load_logout_applet(PanelWidget *panel, int pos, gboolean exactpos);
void load_lock_applet(PanelWidget *panel, int pos, gboolean exactpos);
......
......@@ -3,7 +3,7 @@
#include <gtk/gtk.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
void start_screen_check (void);
......
......@@ -4,7 +4,7 @@
#include <sys/stat.h>
#include <unistd.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef struct _MenuFinfo MenuFinfo;
typedef struct _FileRec FileRec;
......
#ifndef MENU_PROPERTIES_H
#define MENU_PROPERTIES_H
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
void menu_properties (Menu *menu);
......
#ifndef MENU_RH_H
#define MENU_RH_H
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
void create_rh_menu(int dofork);
void rh_submenu_to_display(GtkWidget *menuw, GtkMenuItem *menuitem);
......
#ifndef MENU_UTIL_H
#define MENU_UTIL_H
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
void applet_menu_position (GtkMenu *menu, gint *x, gint *y, gpointer data);
void panel_menu_position (GtkMenu *menu, gint *x, gint *y, gpointer data);
......
......@@ -4,7 +4,7 @@
#include <panel-widget.h>
#include "applet.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
/*compatibility only*/
typedef enum {
......
......@@ -3,7 +3,7 @@
#include <gnome.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef void (*UpdateFunction) (gpointer);
......
......@@ -17,7 +17,7 @@
#include "button-widget.h"
#include "panel-types.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_PANEL_WIDGET (panel_widget_get_type ())
#define PANEL_WIDGET(obj) GTK_CHECK_CAST (obj, panel_widget_get_type (), PanelWidget)
......
......@@ -5,7 +5,7 @@
#include "panel-widget.h"
#include "applet.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef struct _PanelData PanelData;
struct _PanelData {
......
......@@ -4,7 +4,7 @@
#include <glib.h>
#include "panel-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define DEFAULT_AUTO_HIDE_STEP_SIZE 10
#define DEFAULT_EXPLICIT_HIDE_STEP_SIZE 80
......
......@@ -10,7 +10,7 @@
#include "border-widget.h"
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_SLIDING_POS (sliding_pos_get_type ())
#define SLIDING_POS(o) (GTK_CHECK_CAST ((o), TYPE_SLIDING_POS, SlidingPos))
......
......@@ -14,7 +14,7 @@
#include <gnome-panel.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
#define TYPE_STATUS_DOCKLET (status_docklet_get_type ())
#define STATUS_DOCKLET(obj) GTK_CHECK_CAST (obj, status_docklet_get_type (), StatusDocklet)
......
......@@ -9,7 +9,7 @@
#include <libgnorba/gnorba.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
/*XXX we get some sore of conflict if we just use Status*/
typedef struct _StatusApplet StatusApplet;
......
......@@ -3,7 +3,7 @@
#include <panel-widget.h>
BEGIN_GNOME_DECLS
G_BEGIN_DECLS
typedef enum {
SWALLOW_VERTICAL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment