/pidgin/main: d9f3612faf8d: Fix style warnings
Tomasz Wasilczyk
twasilczyk at pidgin.im
Sat Apr 5 05:21:46 EDT 2014
Changeset: d9f3612faf8da3e4ad96349b5a873073688559bf
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-04-05 11:21 +0200
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/d9f3612faf8d
Description:
Fix style warnings
diffstat:
libpurple/smiley-list.h | 1 -
libpurple/smiley-remote.h | 1 -
libpurple/smiley-theme.h | 1 -
libpurple/smiley.h | 1 -
libpurple/tests/test_trie.c | 22 ++++++++++++++++++++++
pidgin/gtksmiley-manager.c | 4 ++--
pidgin/gtksmiley-theme.h | 1 -
pidgin/gtkwebview.h | 1 -
pidgin/gtkwebviewtoolbar.c | 1 -
pidgin/gtkwebviewtoolbar.h | 1 -
10 files changed, 24 insertions(+), 10 deletions(-)
diffs (114 lines):
diff --git a/libpurple/smiley-list.h b/libpurple/smiley-list.h
--- a/libpurple/smiley-list.h
+++ b/libpurple/smiley-list.h
@@ -98,4 +98,3 @@ purple_smiley_list_get_all(PurpleSmileyL
G_END_DECLS
#endif /* _PURPLE_SMILEY_H_ */
-
diff --git a/libpurple/smiley-remote.h b/libpurple/smiley-remote.h
--- a/libpurple/smiley-remote.h
+++ b/libpurple/smiley-remote.h
@@ -86,4 +86,3 @@ purple_remote_smiley_failed(PurpleRemote
G_END_DECLS
#endif /* _PURPLE_REMOTE_SMILEY_H_ */
-
diff --git a/libpurple/smiley-theme.h b/libpurple/smiley-theme.h
--- a/libpurple/smiley-theme.h
+++ b/libpurple/smiley-theme.h
@@ -88,4 +88,3 @@ purple_smiley_theme_uninit(void);
G_END_DECLS
#endif /* _PURPLE_SMILEY_THEME_H_ */
-
diff --git a/libpurple/smiley.h b/libpurple/smiley.h
--- a/libpurple/smiley.h
+++ b/libpurple/smiley.h
@@ -129,4 +129,3 @@ purple_smiley_get_image(PurpleSmiley *sm
G_END_DECLS
#endif /* _PURPLE_SMILEY_H_ */
-
diff --git a/libpurple/tests/test_trie.c b/libpurple/tests/test_trie.c
--- a/libpurple/tests/test_trie.c
+++ b/libpurple/tests/test_trie.c
@@ -1,3 +1,25 @@
+/*
+ * Purple
+ *
+ * Purple is the legal property of its developers, whose names are too
+ * numerous to list here. Please refer to the COPYRIGHT file distributed
+ * with this source distribution
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+ */
+
#include <string.h>
#include "tests.h"
diff --git a/pidgin/gtksmiley-manager.c b/pidgin/gtksmiley-manager.c
--- a/pidgin/gtksmiley-manager.c
+++ b/pidgin/gtksmiley-manager.c
@@ -391,7 +391,7 @@ edit_dialog_show(SmileyManager *manager,
GTK_POS_BOTTOM, 1, 1);
#else
hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BORDER);
- gtk_container_add(GTK_CONTAINER(GTK_VBOX(vbox)),hbox);
+ gtk_container_add(GTK_CONTAINER(GTK_VBOX(vbox)), hbox);
#endif
/* Shortcut text */
@@ -790,7 +790,7 @@ pidgin_smiley_manager_show(void)
gtk_window_set_default_size(GTK_WINDOW(win), 50, 400);
gtk_window_set_role(GTK_WINDOW(win), "custom_smiley_manager");
#if !GTK_CHECK_VERSION(3,0,0)
- gtk_container_set_border_width(GTK_CONTAINER(win),PIDGIN_HIG_BORDER);
+ gtk_container_set_border_width(GTK_CONTAINER(win), PIDGIN_HIG_BORDER);
#endif
gtk_dialog_set_response_sensitive(win, GTK_RESPONSE_NO, FALSE);
gtk_dialog_set_response_sensitive(win, PIDGIN_RESPONSE_MODIFY, FALSE);
diff --git a/pidgin/gtksmiley-theme.h b/pidgin/gtksmiley-theme.h
--- a/pidgin/gtksmiley-theme.h
+++ b/pidgin/gtksmiley-theme.h
@@ -97,4 +97,3 @@ pidgin_smiley_theme_get_all(void);
G_END_DECLS
#endif /* _PIDGIN_SMILEY_THEME_H_ */
-
diff --git a/pidgin/gtkwebview.h b/pidgin/gtkwebview.h
--- a/pidgin/gtkwebview.h
+++ b/pidgin/gtkwebview.h
@@ -623,4 +623,3 @@ pidgin_webview_set_toolbar(PidginWebView
G_END_DECLS
#endif /* _PIDGIN_WEBVIEW_H_ */
-
diff --git a/pidgin/gtkwebviewtoolbar.c b/pidgin/gtkwebviewtoolbar.c
--- a/pidgin/gtkwebviewtoolbar.c
+++ b/pidgin/gtkwebviewtoolbar.c
@@ -1807,4 +1807,3 @@ pidgin_webviewtoolbar_activate(PidginWeb
gtk_action_activate(act);
}
-
diff --git a/pidgin/gtkwebviewtoolbar.h b/pidgin/gtkwebviewtoolbar.h
--- a/pidgin/gtkwebviewtoolbar.h
+++ b/pidgin/gtkwebviewtoolbar.h
@@ -107,4 +107,3 @@ void pidgin_webviewtoolbar_activate(Pidg
G_END_DECLS
#endif /* _PIDGINWEBVIEWTOOLBAR_H_ */
-
More information about the Commits
mailing list