[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann
sbergman at redhat.com
Tue Oct 21 07:39:54 PDT 2014
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit 429af15f99d81e376e1005abb0c550be924ba5ad
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Oct 21 16:39:28 2014 +0200
-Werror,-Wunneeded-internal-declaration
Change-Id: Id3c70202bd028bf7400419fcba5ba4217954acd5
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 7837962..1f9cec0 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -61,19 +61,6 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::uno;
-static void expandexpanders(GtkContainer *pWidget)
-{
- GList *pChildren = gtk_container_get_children(pWidget);
- for( GList *p = pChildren; p; p = p->next )
- {
- if (GTK_IS_CONTAINER(GTK_WIDGET(p->data)))
- expandexpanders(GTK_CONTAINER(GTK_WIDGET(p->data)));
- if (GTK_IS_EXPANDER(GTK_WIDGET(p->data)))
- gtk_expander_set_expanded(GTK_EXPANDER(GTK_WIDGET(p->data)), true);
- }
- g_list_free(pChildren);
-}
-
void SalGtkFilePicker::dialog_mapped_cb(GtkWidget *, SalGtkFilePicker *pobjFP)
{
pobjFP->InitialMapping();
More information about the Libreoffice-commits
mailing list