vcl/unx/gtk/app/gtkdata.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit a7f69caf25662d72b685a2c3412f3a352a0c5a88 Author: Ruslan Kabatsayev <b7.10110...@gmail.com> Date: Mon Jun 18 17:23:46 2012 +0400
GTK: don't crash on X errors Change-Id: I5b1353b409bc7043d2d1c313a3606ed807eced4b Signed-off-by: Fridrich Å trba <fridrich.st...@bluewin.ch> diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx index 4d58110..07beacc 100644 --- a/vcl/unx/gtk/app/gtkdata.cxx +++ b/vcl/unx/gtk/app/gtkdata.cxx @@ -668,6 +668,7 @@ void GtkData::Init() // init gtk/gdk gtk_init_check( &nParams, &pCmdLineAry ); + gdk_error_trap_push(); for (i = 0; i < nParams; i++ ) g_free( pCmdLineAry[i] );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits