Commit 0f9b87fa authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Mark McLoughlin

add maximum compile warnings.

2001-10-24  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: add maximum compile warnings.

2001-10-24  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: add WARN_CFLAGS to INCLUDES. Clean up
	  panel-marshal rules. Build libpanel-applet-2. Install
	  applet headers in gnome-2.0/panel/applet.

	* libpanelapplet-2.0.pc.in: update.

	* applet-object.c: s/IS_APPLET_OBJECT/APPLET_IS_OBJECT/.
	(applet_object_panel): return panel_client.
	(applet_object_panel_quit): impl.
	(impl_GNOME_Applet2_do_callback): kill unused variable.

	* applet-widget.c:
	(marshal_signal_save), (marshal_signal_back):
	s/G_CLOSURE_SWAP_DATA/G_CCLOSURE_SWAP_DATA/
	(applet_widget_destroy): use gtk_main_quit ().
	(gnome_panel_client): kill.
	(applet_widget_get_rgb_background): rename from
	applet_widget_get_rgb_bg.
	(applet_widget_gtk_main, applet_widget_gtk_main_quit,
	 applet_widget_panel_quit): kill.

	* applet-object.h: kill applet_object_register and
	applet_object_get_rgb_background. Add applet_object_panel_quit.

	* applet-widget.h: kill HAVE_* defines.

	* applet-private.h: new header for libpanel-applet private
	functions.

	* doc/libpanel-applet-changes.txt: document applet API changes.

	* basep-widget.c:
	(basep_widget_do_hiding), (basep_widget_do_showing): use g_usleep,
	not usleep.
	(basep_widget_explicit_hide), (basep_widget_explicit_show),
	(basep_widget_autoshow), (basep_widget_autohide): kill unused
	supinfo variables.

	* conditional.c: #ifdef FIXME updates.

	* extern.c: ditto and
	(extern_ref, extern_unref, extern_clean): make static
	(s_panel_add_launcher_from_info): kill unused exec_argv.

	* foobar-widget.c: #ifdef FIXME updates and
	(get_default_image): kill unused variables.

	* launcher.c: (create_properties_dialog), (load_launcher_applet_full),
	(ask_about_launcher): kill unused variables.

	* main.c: (panel_get_shell): make static.

	* menu-properties.c: #ifdef FIXME updates

	* menu.c: (add_new_app_to_menu), (edit_dentry): kill unused
	variables.

	* nothing.cP: #ifdef FIXME updates

	* panel-util.c: ditto.

	* panel-marshal-main.c: include panel-marshal.h.

	* panel_config.c: (update_config_back): make text const.

	* session.c: (apply_global_config), (load_up_globals),
	(write_global_config), (convert_write_config),
	(convert_read_old_config): kill unused variables.

	* button-widget.c: (button_widget_draw): ditto.
parent 4990d489
2001-10-24 Mark McLoughlin <mark@skynet.ie>
* configure.in: add maximum compile warnings.
2001-10-20 Seth Nickell <snickell@stanford.edu>
* configure.in:
......
2001-10-24 Mark McLoughlin <mark@skynet.ie>
* configure.in: add maximum compile warnings.
2001-10-20 Seth Nickell <snickell@stanford.edu>
* configure.in:
......
......@@ -27,6 +27,7 @@ dnl
dnl ==========================================================================
GNOME_PLATFORM_GNOME_2(yes)
GNOME_COMPILE_WARNINGS(maximum)
dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file!
......
2001-10-24 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: add WARN_CFLAGS to INCLUDES. Clean up
panel-marshal rules. Build libpanel-applet-2. Install
applet headers in gnome-2.0/panel/applet.
* libpanelapplet-2.0.pc.in: update.
* applet-object.c: s/IS_APPLET_OBJECT/APPLET_IS_OBJECT/.
(applet_object_panel): return panel_client.
(applet_object_panel_quit): impl.
(impl_GNOME_Applet2_do_callback): kill unused variable.
* applet-widget.c:
(marshal_signal_save), (marshal_signal_back):
s/G_CLOSURE_SWAP_DATA/G_CCLOSURE_SWAP_DATA/
(applet_widget_destroy): use gtk_main_quit ().
(gnome_panel_client): kill.
(applet_widget_get_rgb_background): rename from
applet_widget_get_rgb_bg.
(applet_widget_gtk_main, applet_widget_gtk_main_quit,
applet_widget_panel_quit): kill.
* applet-object.h: kill applet_object_register and
applet_object_get_rgb_background. Add applet_object_panel_quit.
* applet-widget.h: kill HAVE_* defines.
* applet-private.h: new header for libpanel-applet private
functions.
* doc/libpanel-applet-changes.txt: document applet API changes.
* basep-widget.c:
(basep_widget_do_hiding), (basep_widget_do_showing): use g_usleep,
not usleep.
(basep_widget_explicit_hide), (basep_widget_explicit_show),
(basep_widget_autoshow), (basep_widget_autohide): kill unused
supinfo variables.
* conditional.c: #ifdef FIXME updates.
* extern.c: ditto and
(extern_ref, extern_unref, extern_clean): make static
(s_panel_add_launcher_from_info): kill unused exec_argv.
* foobar-widget.c: #ifdef FIXME updates and
(get_default_image): kill unused variables.
* launcher.c: (create_properties_dialog), (load_launcher_applet_full),
(ask_about_launcher): kill unused variables.
* main.c: (panel_get_shell): make static.
* menu-properties.c: #ifdef FIXME updates
* menu.c: (add_new_app_to_menu), (edit_dentry): kill unused
variables.
* nothing.cP: #ifdef FIXME updates
* panel-util.c: ditto.
* panel-marshal-main.c: include panel-marshal.h.
* panel_config.c: (update_config_back): make text const.
* session.c: (apply_global_config), (load_up_globals),
(write_global_config), (convert_write_config),
(convert_read_old_config): kill unused variables.
* button-widget.c: (button_widget_draw): ditto.
2001-10-24 Glynn Foster <glynn.foster@sun.com>
* button-widget.c, button-widget.h, drawer.c,
......
......@@ -13,25 +13,31 @@ server_DATA = $(server_in_files:.server.in=.server)
@INTLTOOL_SERVER_RULE@
INCLUDES = \
-I. \
-I$(srcdir) \
-I$(top_srcdir)/gnome-desktop \
-I$(top_srcdir)/intl \
-I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-DPANEL_DEBUG \
-DGNOME_CORE_INTERNAL \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNOME_DATADIR=\""$(datadir)"\" \
-DGLADEDIR=\""$(datadir)/gnome/panel"\" \
INCLUDES = \
-I. \
-I$(srcdir) \
-I$(top_srcdir)/gnome-desktop \
-I$(top_srcdir)/intl \
-I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-DPANEL_DEBUG \
-DGNOME_CORE_INTERNAL \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNOME_DATADIR=\""$(datadir)"\" \
-DGLADEDIR=\""$(datadir)/gnome/panel"\" \
-DGLOBAL_CONFDIR=\""$(sysconfdir)/gnome/panel-config"\" \
-I$(includedir) \
$(PANEL_CFLAGS)
-I$(includedir) \
$(PANEL_CFLAGS) \
$(WARN_CFLAGS)
bin_PROGRAMS = \
panel-2
lib_LTLIBRARIES = \
libpanel-applet-2.la
# libpanel-status-2.la
gwmh_dir = $(top_srcdir)/applets/desk-guide
CORBA_SRCLIST = \
......@@ -43,45 +49,32 @@ CORBA_SRCLIST = \
$(CORBA_SRCLIST): $(top_srcdir)/idl/GNOME_Panel.idl $(ORBIT_IDL)
$(ORBIT_IDL) -I $(BONOBO_IDLDIR) -I $(BONOBO_ACT_IDLDIR) $(top_srcdir)/idl/GNOME_Panel.idl
panel-marshal.h: panel-marshal.list
cd $(srcdir) \
&& glib-genmarshal --prefix=panel_marshal panel-marshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh panel-marshal.h || cp xgen-gmh panel-marshal.h)
libpanel_applet_2_la_SOURCES = \
applet-widget.c \
applet-object.c \
$(CORBA_SRCLIST)
panel-marshal.c: panel-marshal.h panel-marshal.list
cd $(srcdir) \
&& glib-genmarshal --prefix=panel_marshal panel-marshal.list --body >> xgen-gmc \
&& cp xgen-gmc panel-marshal.c \
&& rm -f xgen-gmc xgen-gmc~
libpanel_applet_2_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
libpanel_applet_2_la_LIBADD = $(PANEL_LIBS) -lm
#libpanel_appletincludedir = $(includedir)
#libpanel_statusincludedir = $(includedir)
libpanel_appletincludedir = $(includedir)/gnome-2.0/panel/applet
#lib_LTLIBRARIES = \
# libpanel_applet.la
# libpanel_status.la
#libpanel_applet_la_SOURCES = \
# applet-widget.c \
# $(CORBA_SRCLIST)
#libpanel_appletinclude_HEADERS = \
# applet-widget.h \
# GNOME_Panel.h
#libpanel_applet_la_LDFLAGS = -version-info 1:0:1 -rpath $(libdir)
#libpanel_applet_la_LIBADD = $(PANEL_LIBS) -lm
libpanel_appletinclude_HEADERS = \
applet-widget.h \
applet-object.h \
GNOME_Panel.h
# libpanel_status_la_SOURCES = \
# status-docklet.c \
# libpanel_status_2_la_SOURCES = \
# status-docklet.c \
# $(CORBA_SRCLIST)
#
# libpanel_status_2_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
# libpanel_status_2_la_LIBADD = $(PANEL_LIBS) -lm
#
# libpanel_statusincludedir = $(includedir)
#
# libpanel_statusinclude_HEADERS = \
# status-docklet.h
#
# libpanel_status_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
# libpanel_status_la_LIBADD = $(PANEL_LIBS) -lm
GWMH_SRCLIST = \
gwmh.c \
......@@ -236,6 +229,18 @@ panel_enum_headers = \
aligned-widget.h \
sliding-widget.h
$(srcdir)/panel-marshal.h: panel-marshal.list
cd $(srcdir) \
&& glib-genmarshal --prefix=panel_marshal panel-marshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh panel-marshal.h || cp xgen-gmh panel-marshal.h) \
&& rm -f xgen-gmh xgen-gmh~
$(srcdir)/panel-marshal.c: panel-marshal.list
cd $(srcdir) \
&& glib-genmarshal --prefix=panel_marshal panel-marshal.list --body >> xgen-gmc \
&& (cp xgen-gmc panel-marshal.c || cp xgen-gmc panel-marshal.c) \
&& rm -f xgen-gmc xgen-gmc~
$(srcdir)/panel-typebuiltins.c: @REBUILD@ Makefile.am $(panel_enum_headers)
cd $(srcdir) \
&& glib-mkenums \
......
#include <config.h>
#include <string.h>
#include <libbonobo.h>
#include <bonobo-activation/bonobo-activation.h>
#include "applet-object.h"
#include "applet-widget.h"
#include "applet-private.h"
struct _AppletObjectPrivate {
AppletWidget *widget;
......@@ -36,7 +38,7 @@ applet_object_abort_load (AppletObject *applet)
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
CORBA_exception_init (&env);
......@@ -58,7 +60,7 @@ applet_object_remove (AppletObject *applet)
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
CORBA_exception_init (&env);
......@@ -88,7 +90,7 @@ applet_object_sync_config (AppletObject *applet)
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
CORBA_exception_init (&env);
......@@ -139,7 +141,7 @@ applet_object_register_callback (AppletObject *applet,
{
AppletObjectCallbackInfo *info;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
g_return_if_fail (name && menutext && func);
if (!stock_item)
......@@ -191,7 +193,7 @@ applet_object_unregister_callback (AppletObject *applet,
{
AppletObjectCallbackInfo *info;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet) && name);
g_return_if_fail (applet && APPLET_IS_OBJECT (applet) && name);
info = applet_object_lookup_callback (applet, name);
if (!info)
......@@ -228,7 +230,7 @@ applet_object_callback_set_sensitive (AppletObject *applet,
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet) && name);
g_return_if_fail (applet && APPLET_IS_OBJECT (applet) && name);
CORBA_exception_init (&env);
......@@ -253,7 +255,7 @@ applet_object_set_tooltip (AppletObject *applet,
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
if (!text)
text = "";
......@@ -282,7 +284,7 @@ applet_object_get_free_space (AppletObject *applet)
CORBA_Environment env;
gint retval;
g_return_val_if_fail (applet && IS_APPLET_OBJECT (applet), 0);
g_return_val_if_fail (applet && APPLET_IS_OBJECT (applet), 0);
CORBA_exception_init (&env);
......@@ -310,7 +312,7 @@ applet_object_send_position (AppletObject *applet,
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
CORBA_exception_init (&env);
......@@ -336,7 +338,7 @@ applet_object_send_draw (AppletObject *applet,
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
CORBA_exception_init (&env);
......@@ -360,7 +362,7 @@ applet_object_get_rgb_background (AppletObject *applet)
GNOME_Panel_RgbImage *image;
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_val_if_fail (applet && APPLET_IS_OBJECT (applet), NULL);
CORBA_exception_init (&env);
......@@ -383,7 +385,7 @@ applet_object_register (AppletObject *applet)
{
CORBA_Environment env;
g_return_if_fail (applet && IS_APPLET_OBJECT (applet));
g_return_if_fail (applet && APPLET_IS_OBJECT (applet));
CORBA_exception_init (&env);
......@@ -406,8 +408,35 @@ applet_object_panel (void)
0, NULL, &env);
CORBA_exception_free (&env);
return panel_client;
}
/*
* FIXME: is this needed?
*
* applet_object_panel_quit:
* @applet: an #AppletObject.
*
* Description: Trigger 'Log out' on the panel. This shouldn't be
* used in normal applets, as it is not normal for applets to trigger
* a logout.
*/
void
applet_object_panel_quit (AppletObject *applet)
{
CORBA_Environment env;
CORBA_exception_init (&env);
GNOME_Panel_quit (applet_object_panel (), &env);
if (BONOBO_EX (&env)) {
CORBA_exception_free (&env);
return;
}
CORBA_exception_free (&env);
}
static CORBA_string
impl_GNOME_Applet2__get_iid (PortableServer_Servant servant,
......@@ -456,7 +485,6 @@ impl_GNOME_Applet2_do_callback (PortableServer_Servant servant,
{
AppletObject *applet;
AppletObjectCallbackInfo *info;
GSList *l;
applet = APPLET_OBJECT (bonobo_object (servant));
......
......@@ -34,12 +34,10 @@ typedef void (*AppletObjectCallbackFunc) (GtkWidget *widget, gpointer data);
GType applet_object_get_type (void) G_GNUC_CONST;
AppletObject *applet_object_new (GtkWidget *widget,
AppletObject *applet_object_new (GtkWidget *widget,
const gchar *iid,
guint32 *winid);
void applet_object_register (AppletObject *applet);
void applet_object_abort_load (AppletObject *applet);
void applet_object_remove (AppletObject *applet);
......@@ -64,8 +62,7 @@ void applet_object_send_position (AppletObject *applet,
gboolean enable);
void applet_object_send_draw (AppletObject *applet,
gboolean enable);
GNOME_Panel_RgbImage *
applet_object_get_rgb_background (AppletObject *applet);
void applet_object_panel_quit (AppletObject *applet);
G_END_DECLS
......
#ifndef __APPLET_PRIATE_H__
#define __APPLET_PRIATE_H__
#include "applet-object.h"
#include "applet-widget.h"
#include "GNOME_Panel.h"
G_BEGIN_DECLS
void applet_object_register (AppletObject *applet);
GNOME_Panel_RgbImage *
applet_object_get_rgb_background (AppletObject *applet);
void applet_widget_change_orient (AppletWidget *widget,
const PanelOrientType orient);
void applet_widget_change_size (AppletWidget *widget,
const CORBA_short size);
void applet_widget_change_position (AppletWidget *widget,
const gint x,
const gint y);
void applet_widget_background_change (AppletWidget *widget,
PanelBackType type,
gchar *pixmap,
GdkColor color);
void applet_widget_tooltips_enable (AppletWidget *widget);
void applet_widget_tooltips_disable (AppletWidget *widget);
void applet_widget_draw (AppletWidget *widget);
gboolean applet_widget_save_session (AppletWidget *widget,
const gchar *config_path,
const gchar *global_config_path);
void applet_widget_freeze_changes (AppletWidget *widget);
void applet_widget_thaw_changes (AppletWidget *widget);
G_END_DECLS
#endif /* __APPLET_PRIATE_H__ */
......@@ -3,14 +3,17 @@
#include <X11/X.h>
#include <X11/Xlib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <libgnome/libgnome.h>
#include <libgnomeui/libgnomeui.h>
#include <bonobo-activation/bonobo-activation.h>
#include <libbonobo.h>
#include "applet-widget.h"
#include "applet-object.h"
#include "applet-private.h"
struct _AppletWidgetPrivate
{
......@@ -49,11 +52,11 @@ typedef int (*SaveSignal) (GtkObject *object,
char *globcfgpath,
gpointer data);
typedef void (*BackSignal) (GtkObject *object,
GNOME_Panel_BackType type,
char *pixmap,
GdkColor *color,
gpointer data);
typedef void (*BackSignal) (GtkObject *object,
PanelBackType type,
char *pixmap,
GdkColor *color,
gpointer data);
typedef void (*PositionSignal) (GtkObject *object,
int x,
......@@ -118,7 +121,7 @@ marshal_signal_save (GClosure *closure,
g_return_if_fail (return_value != NULL);
g_return_if_fail (n_param_values == 3);
if (G_CLOSURE_SWAP_DATA (closure))
if (G_CCLOSURE_SWAP_DATA (closure))
{
data1 = closure->data;
data2 = g_value_peek_pointer (param_values + 0);
......@@ -158,7 +161,7 @@ marshal_signal_back (GClosure *closure,
g_return_if_fail (n_param_values == 4);
if (G_CLOSURE_SWAP_DATA (closure))
if (G_CCLOSURE_SWAP_DATA (closure))
{
data1 = closure->data;
data2 = g_value_peek_pointer (param_values + 0);
......@@ -382,24 +385,13 @@ applet_widget_destroy(GtkWidget *w, gpointer data)
applet_count--;
if(die_on_last && applet_count == 0)
applet_widget_gtk_main_quit();
if (die_on_last && !applet_count)
gtk_main_quit();
g_free(applet->priv);
g_free (applet->priv);
applet->priv = NULL;
}
static GNOME_Panel
gnome_panel_client (CORBA_Environment *ev)
{
static GNOME_Panel panel_client = CORBA_OBJECT_NIL;
if (panel_client == CORBA_OBJECT_NIL)
panel_client = bonobo_activation_activate_from_id (
"OAFIID:GNOME_Panel",
0, NULL, ev);
}
/**
* applet_widget_new:
* @iid: The implementation id of the applet we are starting
......@@ -701,10 +693,9 @@ applet_widget_set_tooltip (AppletWidget *applet,
* Returns: PanelOrientType enum of the orientation
**/
PanelOrientType
applet_widget_get_panel_orient(AppletWidget *applet)
applet_widget_get_panel_orient (AppletWidget *applet)
{
g_return_val_if_fail(applet != NULL,ORIENT_UP);
g_return_val_if_fail(IS_APPLET_WIDGET(applet), ORIENT_UP);
g_return_val_if_fail (applet && IS_APPLET_WIDGET (applet), ORIENT_UP);
return applet->orient;
}
......@@ -729,7 +720,7 @@ applet_widget_get_panel_pixel_size(AppletWidget *applet)
}
/**
* applet_widget_get_rgb_bg:
* applet_widget_get_rgb_background:
* @applet: the #AppletWidget to work with
* @rgb: pointer to a pointer to which the rgb buffer will be returned
* @w: pointer to an integer in which the width will be stored
......@@ -741,11 +732,11 @@ applet_widget_get_panel_pixel_size(AppletWidget *applet)
* method. The rgb should be freed after use with g_free.
**/
void
applet_widget_get_rgb_bg (AppletWidget *applet,
guchar **rgb,
int *w,
int *h,
int *rowstride)
applet_widget_get_rgb_background (AppletWidget *applet,
guchar **rgb,
int *w,
int *h,
int *rowstride)
{
GNOME_Panel_RgbImage *image;
......@@ -840,53 +831,6 @@ applet_widget_init (const char *app_id,
return TRUE;
}
/**
* applet_widget_gtk_main:
*
* Description: Run the main loop, just like #gtk_main
**/
void
applet_widget_gtk_main(void)
{
gtk_main();
}
/**
* applet_widget_gtk_main_quit:
*
* Description: Quit the main loop, just like #gtk_main_quit
**/
void
applet_widget_gtk_main_quit (void)
{
gtk_main_quit();
}
/**
* FIXME: is this needed?
*
* applet_widget_panel_quit:
*
* Description: Trigger 'Log out' on the panel. This shouldn't be
* used in normal applets, as it is not normal for applets to trigger
* a logout.
**/
void
applet_widget_panel_quit (void)
{
CORBA_Environment env;
CORBA_exception_init (&env);
GNOME_Panel_quit (gnome_panel_client (&env), &env);
if (BONOBO_EX (&env)) {
CORBA_exception_free (&env);
return;
}
CORBA_exception_free (&env);
}
/**
* applet_widget_queue_resize:
* @applet: #AppletWidget to work on
......@@ -912,28 +856,22 @@ applet_widget_queue_resize (AppletWidget *applet)
gtk_widget_queue_resize (GTK_WIDGET (applet));
}
/*
* FIXME: new
*/
void
applet_widget_change_orient (AppletWidget *widget,
const GNOME_Panel_OrientType orient)
applet_widget_change_orient (AppletWidget *widget,
const PanelOrientType orient)
{
widget->orient = orient;
if (widget->priv->frozen_level > 0) {
widget->priv->frozen_got_orient = TRUE;
widget->priv->frozen_orient = (GNOME_Panel_OrientType)orient;
widget->priv->frozen_orient = (PanelOrientType)orient;
} else {
gtk_signal_emit (GTK_OBJECT(widget),
applet_widget_signals [CHANGE_ORIENT_SIGNAL],
(GNOME_Panel_OrientType)orient);
(PanelOrientType)orient);
}
}
/*
* FIXME: new
*/
void
applet_widget_change_size (AppletWidget *widget,
const CORBA_short size)
......@@ -950,9 +888,6 @@ applet_widget_change_size (AppletWidget *widget,
}
}
/*
* FIXME: new
*/
void
applet_widget_change_position (AppletWidget *widget,
const gint x,
......@@ -970,14 +905,11 @@ applet_widget_change_position (AppletWidget *widget,
}
}
/*
* FIXME: new
*/
void
applet_widget_background_change (AppletWidget *widget,
GNOME_Panel_BackType type,
gchar *pixmap,
GdkColor color)
applet_widget_background_change (AppletWidget *widget,
PanelBackType type,
gchar *pixmap,
GdkColor color)
{
if (widget->priv->frozen_level > 0) {
widget->priv->frozen_got_back = TRUE;
......@@ -996,9 +928,6 @@ applet_widget_background_change (AppletWidget *widget,
}
}
/*
* FIXME: new
*/
void
applet_widget_tooltips_enable (AppletWidget *widget)
{
......@@ -1009,9 +938,6 @@ applet_widget_tooltips_enable (AppletWidget *widget)
TRUE);
}
/*
* FIXME: new
*/
void
applet_widget_tooltips_disable (AppletWidget *widget)
{
......@@ -1022,9 +948,6 @@ applet_widget_tooltips_disable (AppletWidget *widget)
FALSE);
}
/*
* FIXME: new
*/
void
applet_widget_draw (AppletWidget *widget)
{
......@@ -1032,9 +955,6 @@ applet_widget_draw (AppletWidget *widget)
applet_widget_signals [DO_DRAW_SIGNAL]);
}
/*
* FIXME: new
*/
gboolean
applet_widget_save_session (AppletWidget *widget,
const gchar *config_path,
......@@ -1059,18 +979,12 @@ applet_widget_save_session (AppletWidget *widget,
return !done;
}
/*
* FIXME: new
*/
void
applet_widget_freeze_changes (AppletWidget *widget)
{
widget->priv->frozen_level++;
}
/*
* FIXME: new
*/
void
applet_widget_thaw_changes (AppletWidget *widget)
{
......
......@@ -12,13 +12,6 @@
#include "applet-object.h"
#include "GNOME_Panel.h"
#define HAVE_SAVE_SESSION_SIGNAL 1
#define HAVE_APPLET_BIND_EVENTS 1
#define HAVE_PANEL_PIXEL_SIZE 1
#define HAVE_PANEL_DRAW_SIGNAL 1