Move UNIMPLEMENTED macro to sokoke.
This commit is contained in:
parent
ecae9e1e49
commit
4d11cf3555
3 changed files with 9 additions and 28 deletions
|
@ -30,5 +30,4 @@ midori_SOURCES = \
|
||||||
sokoke.c sokoke.h \
|
sokoke.c sokoke.h \
|
||||||
search.c search.h \
|
search.c search.h \
|
||||||
global.h \
|
global.h \
|
||||||
ui.h \
|
ui.h
|
||||||
debug.h
|
|
||||||
|
|
25
src/debug.h
25
src/debug.h
|
@ -1,25 +0,0 @@
|
||||||
/*
|
|
||||||
Copyright (C) 2007 Christian Dywan <christian@twotoasts.de>
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
See the file COPYING for the full license text.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __DEBUG_H__
|
|
||||||
#define __DEBUG_H__ 1
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <glib/gprintf.h>
|
|
||||||
|
|
||||||
#if SOKOKE_DEBUG > 1
|
|
||||||
#define UNIMPLEMENTED g_print(" * Unimplemented: %s\n", G_STRFUNC);
|
|
||||||
#else
|
|
||||||
#define UNIMPLEMENTED ;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* !__DEBUG_H__ */
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include "sokoke.h"
|
#include "sokoke.h"
|
||||||
|
|
||||||
#include "debug.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
|
@ -19,6 +19,13 @@
|
||||||
#endif
|
#endif
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
#include <glib/gprintf.h>
|
||||||
|
|
||||||
|
#if SOKOKE_DEBUG > 1
|
||||||
|
#define UNIMPLEMENTED g_print(" * Unimplemented: %s\n", G_STRFUNC);
|
||||||
|
#else
|
||||||
|
#define UNIMPLEMENTED ;
|
||||||
|
#endif
|
||||||
|
|
||||||
void sokoke_combo_box_add_strings(GtkComboBox* combobox
|
void sokoke_combo_box_add_strings(GtkComboBox* combobox
|
||||||
, const gchar* labelFirst, ...)
|
, const gchar* labelFirst, ...)
|
||||||
|
|
Loading…
Reference in a new issue