Commit eaa38a66 authored by Tristan Matthews's avatar Tristan Matthews

gnome: remove G_BEGIN/END decls macros

Since the client is compiled with a C compiler, these served no purpose.
parent fc4e24e7
......@@ -38,8 +38,6 @@
#include "actions.h"
#include "utils.h"
G_BEGIN_DECLS
#define ADDRESSBOOK_ENABLE "ADDRESSBOOK_ENABLE"
#define ADDRESSBOOK_MAX_RESULTS "ADDRESSBOOK_MAX_RESULTS"
#define ADDRESSBOOK_DISPLAY_CONTACT_PHOTO "ADDRESSBOOK_DISPLAY_CONTACT_PHOTO"
......@@ -64,6 +62,4 @@ addressbook_display (AddressBook_Config *settings, const gchar *field);
GtkWidget*
create_addressbook_settings();
G_END_DECLS
#endif // _ADDRESS_BOOK_CONFIG
......@@ -37,8 +37,6 @@
#include "actions.h"
#include "utils.h"
G_BEGIN_DECLS
#define DEFAULT_SIP_URL_FIELD "X-sflphone-url"
#define DEFAULT_URL_COMMAND "xdg-open \"%s\""
#define URLHOOK_COMMAND "URLHOOK_COMMAND"
......@@ -67,6 +65,4 @@ void hooks_load_parameters (URLHook_Config** settings);
GtkWidget* create_hooks_settings(SFLPhoneClient *client);
G_END_DECLS
#endif // _HOOKS_CONFIG
......@@ -37,8 +37,6 @@
#include "actions.h"
#include <utils.h>
G_BEGIN_DECLS
enum {
ACTION = 0, MASK, VALUE, COLUMNS
};
......@@ -46,6 +44,4 @@ enum {
GtkWidget*
create_shortcuts_settings ();
G_END_DECLS
#endif // _SHORTCUTS_CONFIG
......@@ -33,12 +33,8 @@
#include <gtk/gtk.h>
G_BEGIN_DECLS
GtkWidget *gnome_main_section_new(const gchar * const title);
void gnome_main_section_new_with_table (gchar *title, GtkWidget**, GtkWidget**, gint nb_col, gint nb_row);
GtkWidget *gnome_info_bar (gchar *message, GtkMessageType type);
G_END_DECLS
#endif // _UTILS_
......@@ -30,8 +30,6 @@
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define SFL_TYPE_SEEKSLIDER (sfl_seekslider_get_type ())
#define SFL_SEEKSLIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SFL_TYPE_SEEKSLIDER, SFLSeekSlider))
#define SFL_SEEKSLIDER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SFL_TYPE_SEEKSLIDER, SFLSeekSliderClass))
......@@ -72,6 +70,4 @@ void sfl_seekslider_set_display(SFLSeekSlider *seekslider, SFLSeekSliderDisplay
void sfl_seekslider_reset(SFLSeekSlider *seekslider);
G_END_DECLS
#endif /* __RB_SEEKSLIDER_H */
......@@ -39,8 +39,6 @@
#include "calllist.h"
#include "sflphone_client.h"
G_BEGIN_DECLS
/**
* Notify an incoming call
* A dialog box is attached to the status icon
......@@ -100,6 +98,4 @@ void notify_zrtp_negotiation_failed(callable_obj_t* c, SFLPhoneClient *client);
*/
void notify_zrtp_not_supported(callable_obj_t* c, SFLPhoneClient *client);
G_END_DECLS
#endif
......@@ -36,6 +36,4 @@
GOptionContext *
sflphone_options_get_context();
G_END_DECLS
#endif /* SFLPHONE_OPTIONS_H_ */
......@@ -31,8 +31,6 @@
#ifndef UI_MANAGER_H
#define UI_MANAGER_H
G_BEGIN_DECLS
#include "sflphone_client.h"
GtkWidget *historyButton_;
......@@ -63,6 +61,4 @@ create_menus(GtkUIManager *ui_manager, SFLPhoneClient *client);
void
create_toolbar_actions(GtkUIManager *ui_manager, SFLPhoneClient *client);
G_END_DECLS
#endif
......@@ -34,8 +34,6 @@
#include <glib-object.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define VIDEO_RENDERER_TYPE (video_renderer_get_type())
#define VIDEO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), VIDEO_RENDERER_TYPE, VideoRenderer))
#define VIDEO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), VIDEO_RENDERER_TYPE, VideoRendererClass))
......@@ -67,6 +65,4 @@ video_renderer_run(VideoRenderer *self);
void
video_renderer_stop(VideoRenderer *self);
G_END_DECLS
#endif // __VIDEO_RENDERER_H__
......@@ -29,8 +29,6 @@
#include <glib-object.h>
G_BEGIN_DECLS
#define PIDGIN_TYPE_MINI_DIALOG pidgin_mini_dialog_get_type()
#define PIDGIN_MINI_DIALOG(obj) \
......@@ -155,6 +153,4 @@ void pidgin_mini_dialog_add_button (PidginMiniDialog *mini_dialog,
*/
guint pidgin_mini_dialog_get_num_children (PidginMiniDialog *mini_dialog);
G_END_DECLS
#endif /* __PIDGIN_MINI_DIALOG_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment