Missing include guards

This commit is contained in:
rbuj 2021-02-22 13:46:51 +01:00 committed by Robert Antoni Buj Gelonch
parent 85a293261f
commit 4ff8bb8650
15 changed files with 72 additions and 4 deletions

View File

@ -20,6 +20,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __FINGERPRINT_STRINGS_H__
#define __FINGERPRINT_STRINGS_H__
struct {
const char *dbus_name;
const char *place_str;
@ -83,3 +86,4 @@ static const char *enroll_result_str_to_msg(const char *result, gboolean is_swip
return NULL;
}
#endif /* __FINGERPRINT_STRINGS_H__ */

View File

@ -17,6 +17,9 @@
* 02110-1301, USA.
*/
#ifndef __MATE_ABOUT_ME_FINGERPRINT_H__
#define __MATE_ABOUT_ME_FINGERPRINT_H__
#include <gtk/gtk.h>
void set_fingerprint_label (GtkWidget *enable,
@ -25,3 +28,4 @@ void fingerprint_button_clicked (GtkBuilder *dialog,
GtkWidget *enable,
GtkWidget *disable);
#endif /* __MATE_ABOUT_ME_FINGERPRINT_H__ */

View File

@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_DESKTOP_H__
#define __APPEARANCE_DESKTOP_H__
void desktop_init (AppearanceData *data, const gchar **uris);
void desktop_shutdown (AppearanceData *data);
#endif /* __APPEARANCE_DESKTOP_H__ */

View File

@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_FONT_H__
#define __APPEARANCE_FONT_H__
void font_init(AppearanceData* data);
void font_shutdown(AppearanceData* data);
#endif /* __APPEARANCE_FONT_H__ */

View File

@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_STYLE_H__
#define __APPEARANCE_STYLE_H__
void style_init (AppearanceData *data);
void style_shutdown (AppearanceData *data);
#endif /* __APPEARANCE_STYLE_H__ */

View File

@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_SUPPORT_H__
#define __APPEARANCE_SUPPORT_H__
void support_init(AppearanceData* data);
void support_shutdown(AppearanceData* data);
#endif /* __APPEARANCE_SUPPORT_H__ */

View File

@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_THEMES_H__
#define __APPEARANCE_THEMES_H__
void themes_init(AppearanceData* data);
void themes_shutdown(AppearanceData* data);
#endif /* __APPEARANCE_THEMES_H__ */

View File

@ -18,4 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_UI_H__
#define __APPEARANCE_UI_H__
void ui_init (AppearanceData *data);
#endif /* __APPEARANCE_UI_H__ */

View File

@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __APPEARANCE_H__
#define __APPEARANCE_H__
#include "config.h"
#include <glib.h>
@ -144,3 +147,5 @@ typedef struct {
#define appearance_capplet_get_widget(x, y) (GtkWidget*) gtk_builder_get_object(x->ui, y)
#define GET_WINDOW(x) (GTK_WINDOW (gtk_builder_get_object (data->ui, (x))))
#endif /* __APPEARANCE_H__ */

View File

@ -18,6 +18,9 @@
*
*/
#ifndef __MATE_WP_ITEM_H__
#define __MATE_WP_ITEM_H__
#include <glib.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@ -27,9 +30,6 @@
#include "mate-wp-info.h"
#ifndef _MATE_WP_ITEM_H_
#define _MATE_WP_ITEM_H_
typedef struct _MateWPItem MateWPItem;
struct _MateWPItem {
@ -84,4 +84,4 @@ const gchar *wp_item_shading_to_string (MateBGColorType type);
MateBGPlacement wp_item_string_to_option (const gchar *option);
MateBGColorType wp_item_string_to_shading (const gchar *shade_type);
#endif
#endif /* __MATE_WP_ITEM_H__ */

View File

@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __THEME_SAVE_H__
#define __THEME_SAVE_H__
void theme_save_dialog_run (MateThemeMetaInfo *theme_info,
AppearanceData *data);
#endif /* __THEME_SAVE_H__ */

View File

@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __THEME_UTIL_H__
#define __THEME_UTIL_H__
enum {
COL_THUMBNAIL,
COL_LABEL,
@ -41,3 +44,5 @@ gboolean theme_find_in_model(GtkTreeModel* model, const gchar* name, GtkTreeIter
void theme_install_file(GtkWindow* parent, const gchar* path);
gboolean packagekit_available(void);
#endif /* __THEME_UTIL_H__ */

View File

@ -19,7 +19,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GTKRC_UTILS_H__
#define __GTKRC_UTILS_H__
void gtkrc_get_details (gchar *filename, GSList **engines, GSList **symbolic_colors);
gchar * gtkrc_find_named (const gchar *name);
gchar * gtkrc_get_color_scheme (const gchar *filename);
gchar * gtkrc_get_color_scheme_for_theme (const gchar *theme_name);
#endif /* __GTKRC_UTILS_H__ */

View File

@ -15,6 +15,10 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __SCROLLAREA_H__
#define __SCROLLAREA_H__
#include <cairo.h>
#include <gtk/gtk.h>
@ -122,3 +126,5 @@ void foo_scroll_area_begin_auto_scroll (FooScrollArea *scroll_area);
void foo_scroll_area_auto_scroll (FooScrollArea *scroll_area,
FooScrollAreaEvent *event);
void foo_scroll_area_end_auto_scroll (FooScrollArea *scroll_area);
#endif /* __SCROLLAREA_H__ */

View File

@ -25,9 +25,13 @@
*
*/
#ifndef __TOTEM_RESOURCES_H__
#define __TOTEM_RESOURCES_H__
#include <glib.h>
void totem_resources_monitor_start (const char *input,
gint wall_clock_time);
void totem_resources_monitor_stop (void);
#endif /* __TOTEM_RESOURCES_H__ */