[goffice] compilation: add gcc warning hints.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [goffice] compilation: add gcc warning hints.
- Date: Fri, 13 Nov 2009 14:31:44 +0000 (UTC)
commit 5f548f03e16f9a083b4995a28fde64ee512238cd
Author: Morten Welinder <terra gnome org>
Date: Fri Nov 13 09:31:31 2009 -0500
compilation: add gcc warning hints.
goffice/gtk/goffice-gtk.h | 39 +++++++++++++++++++++------------------
1 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/goffice/gtk/goffice-gtk.h b/goffice/gtk/goffice-gtk.h
index 2db2ac2..00e4f5c 100644
--- a/goffice/gtk/goffice-gtk.h
+++ b/goffice/gtk/goffice-gtk.h
@@ -58,36 +58,39 @@ G_BEGIN_DECLS
void go_gtk_editable_enters (GtkWindow *window, GtkWidget *w);
GtkBuilder *go_gtk_builder_new (char const *uifile,
- char const *domain, GOCmdContext *gcc);
-gulong go_gtk_builder_signal_connect (GtkBuilder *gui,
- gchar const *instance_name,
- gchar const *detailed_signal,
- GCallback c_handler,
- gpointer data);
+ char const *domain, GOCmdContext *gcc);
+gulong go_gtk_builder_signal_connect (GtkBuilder *gui,
+ gchar const *instance_name,
+ gchar const *detailed_signal,
+ GCallback c_handler,
+ gpointer data);
gulong go_gtk_builder_signal_connect_swapped (GtkBuilder *gui,
gchar const *instance_name,
gchar const *detailed_signal,
- GCallback c_handler,
- gpointer data);
+ GCallback c_handler,
+ gpointer data);
GtkWidget *go_gtk_builder_get_widget (GtkBuilder *gui,
- char const *widget_name);
-GtkComboBox *go_gtk_builder_combo_box_init_text (GtkBuilder *gui,
- char const *widget_name);
-int go_gtk_builder_group_value (GtkBuilder *gui, char const * const group[]);
+ char const *widget_name);
+GtkComboBox *go_gtk_builder_combo_box_init_text (GtkBuilder *gui,
+ char const *widget_name);
+int go_gtk_builder_group_value (GtkBuilder *gui,
+ char const * const group[]);
int go_pango_measure_string (PangoContext *context,
PangoFontDescription const *font_desc,
char const *str);
gint go_gtk_dialog_run (GtkDialog *dialog, GtkWindow *parent);
-GtkWidget *go_gtk_dialog_add_button (GtkDialog *dialog, char const *text, char const *stock_id,
+GtkWidget *go_gtk_dialog_add_button (GtkDialog *dialog, char const *text,
+ char const *stock_id,
gint response_id);
void go_gtk_notice_dialog (GtkWindow *parent, GtkMessageType type,
- const gchar *format, ...);
+ const gchar *format, ...) G_GNUC_PRINTF (3, 4);
void go_gtk_notice_nonmodal_dialog (GtkWindow *parent, GtkWidget **ref,
- GtkMessageType type, const gchar *format, ...);
+ GtkMessageType type,
+ const gchar *format, ...) G_GNUC_PRINTF (4, 5);
gboolean go_gtk_query_yes_no (GtkWindow *toplevel, gboolean default_answer,
- const gchar *format, ...);
+ const gchar *format, ...) G_GNUC_PRINTF (3, 4);
GtkWidget *go_gtk_button_new_with_stock (char const *text,
char const *stock_id);
@@ -113,8 +116,8 @@ void go_dialog_guess_alternative_button_order (GtkDialog *dialog);
void go_widget_set_tooltip_text (GtkWidget *widget, const gchar *tip);
void go_tool_item_set_tooltip_text (GtkToolItem *item, const gchar *tip);
-void go_menu_position_below (GtkMenu *menu, gint *x, gint *y,
- gint *push_in, gpointer user_data);
+void go_menu_position_below (GtkMenu *menu, gint *x, gint *y,
+ gint *push_in, gpointer user_data);
GError *go_gtk_url_show (gchar const *url, GdkScreen *screen);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]