From 47fcfd5b48653b27de30089dbb9f48c8905cf29f Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Wed, 1 Oct 2008 16:30:20 -0400 Subject: [PATCH] fix implicit function declarations cases --- sflphone-gtk/src/calllist.c | 2 ++ sflphone-gtk/src/calllist.h | 1 + sflphone-gtk/src/calltree.c | 2 ++ sflphone-gtk/src/mainwindow.c | 2 +- sflphone-gtk/src/mainwindow.h | 1 + sflphone-gtk/src/menus.c | 3 ++- 6 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sflphone-gtk/src/calllist.c b/sflphone-gtk/src/calllist.c index 34c74276f1..d188d2d194 100644 --- a/sflphone-gtk/src/calllist.c +++ b/sflphone-gtk/src/calllist.c @@ -18,6 +18,8 @@ */ #include <calllist.h> +#include <calltree.h> +#include <dbus.h> #include <string.h> diff --git a/sflphone-gtk/src/calllist.h b/sflphone-gtk/src/calllist.h index a59fadfb84..c6d28c1751 100644 --- a/sflphone-gtk/src/calllist.h +++ b/sflphone-gtk/src/calllist.h @@ -21,6 +21,7 @@ #define __CALLLIST_H__ #include <gtk/gtk.h> + /** @file calllist.h * @brief A list to hold calls. */ diff --git a/sflphone-gtk/src/calltree.c b/sflphone-gtk/src/calltree.c index 15b7a89c6a..357a07185c 100644 --- a/sflphone-gtk/src/calltree.c +++ b/sflphone-gtk/src/calltree.c @@ -19,6 +19,8 @@ */ #include <stdlib.h> +#include <glib/gprintf.h> + #include <gtk/gtk.h> #include <actions.h> #include <calltree.h> diff --git a/sflphone-gtk/src/mainwindow.c b/sflphone-gtk/src/mainwindow.c index ca71e53cc3..cbf69f6392 100644 --- a/sflphone-gtk/src/mainwindow.c +++ b/sflphone-gtk/src/mainwindow.c @@ -21,7 +21,6 @@ #include <config.h> #include <actions.h> #include <calltab.h> -#include <calllist.h> #include <calltree.h> #include <configwindow.h> #include <dialpad.h> @@ -29,6 +28,7 @@ #include <menus.h> #include <sliders.h> #include <historyfilter.h> +#include <assistant.h> #include <gtk/gtk.h> diff --git a/sflphone-gtk/src/mainwindow.h b/sflphone-gtk/src/mainwindow.h index 2a3e237893..b5e385168b 100644 --- a/sflphone-gtk/src/mainwindow.h +++ b/sflphone-gtk/src/mainwindow.h @@ -87,4 +87,5 @@ void statusbar_push_message( const gchar* message , guint id ); */ void statusbar_pop_message( guint id ); +void main_window_searchbar( gboolean *state ); #endif diff --git a/sflphone-gtk/src/menus.c b/sflphone-gtk/src/menus.c index 406a9f83b3..9cb2a2838d 100644 --- a/sflphone-gtk/src/menus.c +++ b/sflphone-gtk/src/menus.c @@ -27,8 +27,9 @@ #include <dbus.h> #include <mainwindow.h> #include <calltab.h> +#include <assistant.h> #include <gtk/gtk.h> - +#include <glib/gprintf.h> #include <string.h> // for strlen GtkWidget * pickUpMenu; -- GitLab