GTK_DIALOG_NO_SEPARATOR cannot be used with GtkMessageDialog

2009-02-21  Jens Granseuer  <jensgr@gmx.net>

	* xrandr-capplet.c: (error_message): GTK_DIALOG_NO_SEPARATOR cannot be
	used with GtkMessageDialog

svn path=/trunk/; revision=9281
This commit is contained in:
Jens Granseuer 2009-02-20 23:17:07 +00:00 committed by Jens Granseuer
parent c9362a670b
commit 1264bf2940
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-02-21 Jens Granseuer <jensgr@gmx.net>
* xrandr-capplet.c: (error_message): GTK_DIALOG_NO_SEPARATOR cannot be
used with GtkMessageDialog
2009-02-19 Federico Mena Quintero <federico@novell.com>
* xrandr-capplet.c (paint_output): Make "on" monitors have black

View file

@ -82,7 +82,7 @@ error_message (App *app, const char *primary_text, const char *secondary_text)
GtkWidget *dialog;
dialog = gtk_message_dialog_new ((app && app->dialog) ? GTK_WINDOW (app->dialog) : NULL,
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
"%s", primary_text);