Commit b6dd0ad9 authored by Vincent Geddes's avatar Vincent Geddes

Substitute PLUGINS_WARN_CFLAGS as the warning flags for compiling plugins.

        * configure.ac, plugins/gtk+/Makefile.am,
          plugins/gnome/Makefile.am: Substitute PLUGINS_WARN_CFLAGS as the warning flags
          for compiling plugins. Don't use the warning flags defined by GNOME_COMPILE_WARNINGS. 


svn path=/trunk/; revision=1399
parent f808abe8
......@@ -15,6 +15,10 @@
configure.ac
gladeui/Makefile.am: Cygwin build fixes. Only apply "-mwindows" ld flag
if we are in unstable development.
* configure.ac, plugins/gtk+/Makefile.am,
plugins/gnome/Makefile.am: Substitute PLUGINS_WARN_CFLAGS as the warning flags
for compiling plugins. Don't use the warning flags defined by GNOME_COMPILE_WARNINGS.
2007-06-24 Vincent Geddes <vgeddes@gnome.org>
......
......@@ -78,6 +78,13 @@ GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
GNOME_MAINTAINER_MODE_DEFINES
# For the plugins, we don't use the warning flags defined by GNOME_COMPILE_WARNINGS.
# These flags include -Wmissing-prototypes, which we prefer not to use.
if test "x$GCC" = "xyes"; then
PLUGINS_WARN_CFLAGS="-Wall -Wnested-externs -Wpointer-arith"
fi
AC_SUBST(PLUGINS_WARN_CFLAGS)
dnl ================================================================
dnl Gettext stuff.
dnl ================================================================
......
......@@ -17,14 +17,11 @@ libgladegnome_la_CFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/plugins/gtk+ \
$(GNOME_CFLAGS) \
$(WARN_CFLAGS) \
$(PLUGINS_WARN_CFLAGS) \
$(AM_CPPFLAGS)
libgladegnome_la_LDFLAGS = -module -avoid-version $(GNOME_LIBS) $(AM_LDFLAGS)
libgladegnome_la_LIBADD = $(libgladeui) $(GLADE_LIBS)
libgladegnomeincludedir= $(includedir)/libgladeui-1.0/gladeui
libgladegnomeinclude_HEADERS = glade-gnome.h
if PLATFORM_WIN32
libgladegnome_la_LDFLAGS += -no-undefined
endif
......
......@@ -22,8 +22,6 @@
#include <config.h>
#include "glade-gnome.h"
#include <gladeui/glade.h>
#include <gladeui/glade-editor-property.h>
......@@ -31,7 +29,7 @@
#include <libbonoboui.h>
#include <libgnome/libgnome.h>
#include <libgnomeui/libgnomeui.h>
#include <libgnomeui/libgnomeui.h>
/* This function does absolutely nothing
* (and is for use in overriding post_create functions).
......
#ifndef __GLADE_GNOME_H__
#define __GLADE_GNOME_H__
#include <gladeui/glade.h>
#include <gtk/gtk.h>
void
glade_gnomeui_init (void);
void
glade_gnome_icon_entry_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gnome_app_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
GObject *
glade_gnome_app_get_internal_child (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *name);
GList *
glade_gnome_app_get_children (GladeWidgetAdaptor *adaptor,
GObject *object);
void
glade_gnome_app_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gnome_app_get_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gnome_app_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
GType gnome_app_bar_get_type (void);
void
glade_gnome_app_bar_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gnome_date_edit_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gnome_druid_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gnome_druid_add_child (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child);
void
glade_gnome_druid_remove_child (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child);
void
glade_gnome_druid_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gnome_druid_get_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gnome_dps_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
GObject *
glade_gnome_dps_get_internal_child (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *name);
GList *
glade_gnome_dps_get_children (GladeWidgetAdaptor *adaptor,
GObject *object);
void
glade_gnome_dps_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
GParamSpec *
glade_gnome_dpe_position_spec (void);
void
glade_gnome_dpe_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gnome_canvas_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gnome_dialog_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
GObject *
glade_gnome_dialog_get_internal_child (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *name);
GList *
glade_gnome_dialog_get_children (GladeWidgetAdaptor *adaptor,
GObject *object);
void
glade_gnome_about_dialog_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gnome_about_dialog_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
GParamSpec *
glade_gnome_message_box_type_spec (void);
void
glade_gnome_message_box_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
GObject *
glade_gnome_entry_get_internal_child (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *name);
void
glade_gnome_entry_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
GList *
glade_gnome_entry_get_children (GladeWidgetAdaptor *adaptor,
GObject *object);
void
glade_gnome_entry_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gnome_file_entry_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gnome_font_picker_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
GList *
glade_gnome_font_picker_get_children (GladeWidgetAdaptor *adaptor,
GObject *object);
void
glade_gnome_font_picker_add_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *child);
void
glade_gnome_font_picker_remove_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *child);
void
glade_gnome_font_picker_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void
glade_gnome_icon_list_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
GParamSpec *
glade_gnome_icon_list_selection_mode_spec (void);
void
glade_gnome_icon_list_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gnome_pixmap_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
GParamSpec *
glade_gnome_bonobo_dock_placement_spec (void);
GParamSpec *
glade_gnome_bonobo_dock_item_behavior_spec (void);
GParamSpec *
glade_gnome_gtk_pack_type_spec (void);
void
glade_gnome_bonobodock_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gnome_bonobodock_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
GList *
glade_gnome_bonobodock_get_children (GladeWidgetAdaptor *adaptor,
GObject *object);
void
glade_gnome_bonobodock_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void
glade_gnome_bonobodock_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gnome_bonobodock_get_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gnome_bonobodock_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
#endif /* __GLADE_GNOME_H__ */
......@@ -19,8 +19,8 @@ libgladegtk_la_CFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(GTK_CFLAGS) \
$(PLUGINS_WARN_CFLAGS) \
$(AM_CFLAGS)
libgladegtk_la_SOURCES = glade-gtk.c
......
......@@ -28,632 +28,5 @@ GParamSpec *glade_gtk_image_type_spec (void);
GParamSpec *glade_gtk_button_type_spec (void);
void
empty (GObject *container, GladeCreateReason reason);
void glade_gtk_widget_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void glade_gtk_widget_get_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
GValue *value);
void glade_gtk_container_post_create (GladeWidgetAdaptor *adaptor,
GObject *container,
GladeCreateReason reason);
void glade_gtk_container_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void glade_gtk_container_add_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *child);
void glade_gtk_container_remove_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *child);
void glade_gtk_container_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
const GValue *value);
void glade_gtk_container_get_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
GList *glade_gtk_container_get_children (GladeWidgetAdaptor *adaptor,
GtkContainer *container);
void
glade_gtk_box_post_create (GladeWidgetAdaptor *adaptor,
GObject *container,
GladeCreateReason reason);
void
glade_gtk_box_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gtk_box_get_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
GValue *value);
void
glade_gtk_box_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
gboolean
glade_gtk_box_verify_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_box_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
GObject *
glade_gtk_box_get_internal_child (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *name);
void
glade_gtk_box_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_box_child_action_activate (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *object,
const gchar *action_path);
void
glade_gtk_table_post_create (GladeWidgetAdaptor *adaptor,
GObject *container,
GladeCreateReason reason);
void
glade_gtk_table_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_table_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
gboolean
glade_gtk_table_verify_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_table_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void
glade_gtk_table_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_table_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
gboolean
glade_gtk_table_child_verify_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *id,
GValue *value);
void
glade_gtk_table_child_action_activate (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *object,
const gchar *action_path);
void
glade_gtk_frame_post_create (GladeWidgetAdaptor *adaptor,
GObject *frame,
GladeCreateReason reason);
void
glade_gtk_frame_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void
glade_gtk_frame_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_notebook_post_create (GladeWidgetAdaptor *adaptor,
GObject *notebook,
GladeCreateReason reason);
void
glade_gtk_notebook_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
gboolean
glade_gtk_notebook_verify_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_notebook_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_notebook_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_notebook_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
gboolean
glade_gtk_notebook_child_verify_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *id,
GValue *value);
void
glade_gtk_notebook_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
const GValue *value);
void
glade_gtk_notebook_get_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gtk_notebook_child_action_activate (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *object,
const gchar *action_path);
void
glade_gtk_paned_post_create (GladeWidgetAdaptor *adaptor,
GObject *paned,
GladeCreateReason reason);
void
glade_gtk_paned_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_paned_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_paned_set_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
const GValue *value);
void
glade_gtk_paned_get_child_property (GladeWidgetAdaptor *adaptor,
GObject *container,
GObject *child,
const gchar *property_name,
GValue *value);
void
glade_gtk_expander_post_create (GladeWidgetAdaptor *adaptor,
GObject *expander,
GladeCreateReason reason);
void
glade_gtk_expander_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void
glade_gtk_expander_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_expander_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_entry_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gtk_fixed_layout_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gtk_fixed_layout_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_fixed_layout_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_window_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gtk_dialog_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
GtkWidget *
glade_gtk_dialog_get_internal_child (GladeWidgetAdaptor *adaptor,
GtkDialog *dialog,
const gchar *name);
GList *
glade_gtk_dialog_get_children (GladeWidgetAdaptor *adaptor,
GtkDialog *dialog);
void
glade_gtk_dialog_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_file_chooser_widget_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gtk_button_post_create (GladeWidgetAdaptor *adaptor,
GObject *button,
GladeCreateReason reason);
void
glade_gtk_button_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_button_replace_child (GladeWidgetAdaptor *adaptor,
GtkWidget *container,
GtkWidget *current,
GtkWidget *new_widget);
void
glade_gtk_button_add_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_button_remove_child (GladeWidgetAdaptor *adaptor,
GObject *object,
GObject *child);
void
glade_gtk_image_post_create (GladeWidgetAdaptor *adaptor,
GObject *object,
GladeCreateReason reason);
void
glade_gtk_image_set_property (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *id,
const GValue *value);
void
glade_gtk_menu_shell_action_activate (GladeWidgetAdaptor *adaptor,
GObject *object,
const gchar *action_path);