[gtk+/gtk-3-2] Mark gtk_dialog_new_with_buttons as NULL-terminated
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-2] Mark gtk_dialog_new_with_buttons as NULL-terminated
- Date: Sat, 12 Nov 2011 04:09:41 +0000 (UTC)
commit 0dde424db3e9ef1f419cfe0a7369046ebc252a2c
Author: Benjamin Moody <benjaminmoody gmail com>
Date: Sat Nov 5 01:26:48 2011 -0400
Mark gtk_dialog_new_with_buttons as NULL-terminated
https://bugzilla.gnome.org/show_bug.cgi?id=663073
gtk/gtkdialog.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index ab1d143..faff3e3 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -138,7 +138,7 @@ GtkWidget* gtk_dialog_new_with_buttons (const gchar *title,
GtkWindow *parent,
GtkDialogFlags flags,
const gchar *first_button_text,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gtk_dialog_add_action_widget (GtkDialog *dialog,
GtkWidget *child,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]