summaryrefslogtreecommitdiff
path: root/gtk/gtkmessagedialog.c
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2008-06-20 14:08:18 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-06-20 14:08:18 +0000
commit812eaa436f81b0a17015f569da698f7bc80f4ab3 (patch)
tree60ed76fe2673a85882abf147ec77de2c4b713688 /gtk/gtkmessagedialog.c
parent58808c169e76011f6f70860208f1964c90fadb50 (diff)
downloadgtk+-812eaa436f81b0a17015f569da698f7bc80f4ab3.tar.gz
Add missing accessor for sealed field GtkMessageDialog->image.
2008-06-20 Johan Dahlin <jdahlin@async.com.br> * gtk/gtk.symbols: * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image): * gtk/gtkmessagedialog.h: Add missing accessor for sealed field GtkMessageDialog->image. svn path=/trunk/; revision=20642
Diffstat (limited to 'gtk/gtkmessagedialog.c')
-rw-r--r--gtk/gtkmessagedialog.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index d083492564..9e7c2f2780 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -644,6 +644,22 @@ gtk_message_dialog_set_image (GtkMessageDialog *dialog,
}
/**
+ * gtk_message_dialog_get_image:
+ * @dialog: a #GtkMessageDialog
+ *
+ * Return value: the dialog's image
+ *
+ * Since: 2.14
+ **/
+GtkWidget *
+gtk_message_dialog_get_image (GtkMessageDialog *dialog)
+{
+ g_return_if_fail (GTK_IS_MESSAGE_DIALOG (dialog));
+
+ return dialog->image;
+}
+
+/**
* gtk_message_dialog_set_markup:
* @message_dialog: a #GtkMessageDialog
* @str: markup string (see <link linkend="PangoMarkupFormat">Pango markup format</link>)