aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-24 22:11:25 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-24 22:11:25 +0800
commitfaae84477af9ba732358930d7d6ba57f16c4a6df (patch)
tree236ae64f47381d5e713fcaf81a981944f1a5d150 /addressbook/printing
parenta1fb36c15210deac4ca989703587060c549c6e51 (diff)
downloadgsoc2013-evolution-faae84477af9ba732358930d7d6ba57f16c4a6df.tar.gz
gsoc2013-evolution-faae84477af9ba732358930d7d6ba57f16c4a6df.tar.zst
gsoc2013-evolution-faae84477af9ba732358930d7d6ba57f16c4a6df.zip
Warning fixes: - mixing code and declarations - NULL vs 0 vs FALSE/TRUE -
2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/contact-editor/e-contact-editor-address.c: * gui/contact-editor/e-contact-editor-fullname.c: * gui/contact-editor/e-contact-editor-im.c: * gui/contact-editor/e-contact-editor.c: (save_contact), (app_delete_event_cb), (e_contact_editor_set_property), (e_contact_editor_create_date): * gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_new): * gui/merging/eab-contact-merging.c: (mergeit), (response): * gui/widgets/e-minicard.c: (e_minicard_event), (add_field), (get_email_location), (add_email_field), (remodel), (e_minicard_reflow), (e_minicard_compare): * gui/widgets/eab-config.c: (eab_config_new): * gui/widgets/eab-gui-util.c: (eab_load_error_dialog), (file_exists), (save_it), (contact_added_cb), (eab_send_to_contact_and_email_num_list): * gui/widgets/eab-menu.c: (eab_menu_new): * gui/widgets/eab-popup.c: (eab_popup_new): * importers/evolution-csv-importer.c: (parseLine), (getNextCSVEntry): * printing/e-contact-print-style-editor.c: * printing/test-contact-print-style-editor.c: * printing/test-print.c: * util/eab-book-util.c: (eab_get_config_database): Warning fixes: - mixing code and declarations - NULL vs 0 vs FALSE/TRUE - mark code static - some coding style fixes - if vs ifdef - Remove some unused bits - ANSIfication of declarations svn path=/trunk/; revision=34421
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/e-contact-print-style-editor.c2
-rw-r--r--addressbook/printing/test-contact-print-style-editor.c2
-rw-r--r--addressbook/printing/test-print.c3
3 files changed, 2 insertions, 5 deletions
diff --git a/addressbook/printing/e-contact-print-style-editor.c b/addressbook/printing/e-contact-print-style-editor.c
index abcf6f5003..0e4c3246b0 100644
--- a/addressbook/printing/e-contact-print-style-editor.c
+++ b/addressbook/printing/e-contact-print-style-editor.c
@@ -112,7 +112,7 @@ e_contact_print_style_editor_init (EContactPrintStyleEditor *e_contact_print_sty
GTK_WIDGET(e_contact_print_style_editor));
}
-void
+static void
e_contact_print_style_editor_destroy (GtkObject *object)
{
EContactPrintStyleEditor *e_contact_print_style_editor = E_CONTACT_PRINT_STYLE_EDITOR(object);
diff --git a/addressbook/printing/test-contact-print-style-editor.c b/addressbook/printing/test-contact-print-style-editor.c
index eae7e332ba..f5d20eea77 100644
--- a/addressbook/printing/test-contact-print-style-editor.c
+++ b/addressbook/printing/test-contact-print-style-editor.c
@@ -29,7 +29,7 @@
#include "e-contact-print-style-editor.h"
/* This is a horrible thing to do, but it is just a test. */
-GtkWidget *editor;
+static GtkWidget *editor;
static void destroy_callback(GtkWidget *app, gpointer data)
{
diff --git a/addressbook/printing/test-print.c b/addressbook/printing/test-print.c
index 6ed909b900..d86c33baea 100644
--- a/addressbook/printing/test-print.c
+++ b/addressbook/printing/test-print.c
@@ -29,9 +29,6 @@
#include <bonobo/bonobo-main.h>
#include "e-contact-print.h"
-/* This is a horrible thing to do, but it is just a test. */
-GtkWidget *print;
-
#if 0
static void about_callback( GtkWidget *widget, gpointer data )
{