FreeBSD Bugzilla – Attachment 179545 Details for
Bug 203563
[PATCH] editors/libreoffice:open/save dialog crashes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for libreoffice-5.2.4_3
patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx (text/plain), 924 bytes, created by
amistry
on 2017-02-02 21:32:25 UTC
(
hide
)
Description:
Fix for libreoffice-5.2.4_3
Filename:
MIME Type:
Creator:
amistry
Created:
2017-02-02 21:32:25 UTC
Size:
924 bytes
patch
obsolete
>--- vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx.orig 2017-02-01 23:26:44.258083000 -0500 >+++ vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx 2017-02-01 23:28:54.043530000 -0500 >@@ -418,17 +418,18 @@ > static void > dialog_remove_buttons(GtkWidget *pActionArea) > { >- GList *pChildren = >- gtk_container_get_children( GTK_CONTAINER( pActionArea ) ); >+ GtkContainer * container = GTK_CONTAINER( pActionArea ); > >- for( GList *p = pChildren; p; p = p->next ) >+ if( container ) > { >- GtkWidget *pWidget = GTK_WIDGET( p->data ); >- if ( GTK_IS_BUTTON( pWidget ) ) >- gtk_widget_destroy( pWidget ); >- } >+ GList *pChildren = >+ gtk_container_get_children( container ); >+ >+ for( GList *p = pChildren; p; p = p->next ) >+ gtk_widget_destroy( GTK_WIDGET( p->data ) ); > >- g_list_free( pChildren ); >+ g_list_free( pChildren ); >+ } > } > > static void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203563
:
161737
|
164277
| 179545 |
179547
|
179729
|
179731