forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
58808c169e
commit
812eaa436f
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2008-06-20 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkprinter.h: the GSEAL branch added two includes for no
|
||||
|
@ -2329,6 +2329,7 @@ gtk_message_dialog_new G_GNUC_PRINTF(5,6)
|
||||
gtk_message_dialog_new_with_markup G_GNUC_PRINTF(5,6)
|
||||
gtk_message_dialog_set_markup
|
||||
gtk_message_dialog_set_image
|
||||
gtk_message_dialog_get_image
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -643,6 +643,22 @@ gtk_message_dialog_set_image (GtkMessageDialog *dialog,
|
||||
g_object_notify (G_OBJECT (dialog), "image");
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -104,6 +104,8 @@ GtkWidget* gtk_message_dialog_new_with_markup (GtkWindow *parent,
|
||||
void gtk_message_dialog_set_image (GtkMessageDialog *dialog,
|
||||
GtkWidget *image);
|
||||
|
||||
GtkWidget * gtk_message_dialog_get_image (GtkMessageDialog *dialog);
|
||||
|
||||
void gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog,
|
||||
const gchar *str);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user