diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-20 08:22:15 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-20 10:36:50 (GMT) |
commit | 5fa19cbf945f43146f2b0e0f93da53fec27fd543 (patch) | |
tree | 9906406fc967f9510d647415ab7d4dbd24b67e1e /src/gui/styles | |
parent | c7c7b364d9816d03c7475d6592d50dec5401c151 (diff) | |
download | Qt-5fa19cbf945f43146f2b0e0f93da53fec27fd543.zip Qt-5fa19cbf945f43146f2b0e0f93da53fec27fd543.tar.gz Qt-5fa19cbf945f43146f2b0e0f93da53fec27fd543.tar.bz2 |
Remove a few warnings when compiling Qt and unexport some functions.
Make some functions static that are not used anywhere but in the
current file. Others that are used, add the declaration to the _p.h to
ensure we don't forget about them.
Finally, there's no need to enable debugging code if it's not used
anywhere.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/gtksymbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/gtksymbols.cpp b/src/gui/styles/gtksymbols.cpp index 51f40e3..6a5ea49 100644 --- a/src/gui/styles/gtksymbols.cpp +++ b/src/gui/styles/gtksymbols.cpp @@ -642,7 +642,7 @@ GtkStyle* QGtk::gtkStyle(const QString &path) return 0; } -static void update_toolbar_style(GtkWidget *gtkToolBar, GParamSpec *pspec, gpointer user_data) +static void update_toolbar_style(GtkWidget *gtkToolBar, GParamSpec *, gpointer) { GtkToolbarStyle toolbar_style = GTK_TOOLBAR_ICONS; g_object_get(gtkToolBar, "toolbar-style", &toolbar_style, NULL); |