Move UNIMPLEMENTED macro to sokoke.

This commit is contained in:
Christian Dywan 2008-04-20 06:41:26 +02:00
parent ecae9e1e49
commit 4d11cf3555
3 changed files with 9 additions and 28 deletions

View File

@ -30,5 +30,4 @@ midori_SOURCES = \
sokoke.c sokoke.h \
search.c search.h \
global.h \
ui.h \
debug.h
ui.h

View File

@ -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__ */

View File

@ -11,7 +11,7 @@
#include "sokoke.h"
#include "debug.h"
#include "config.h"
#include <string.h>
#ifdef HAVE_UNISTD_H
@ -19,6 +19,13 @@
#endif
#include <gdk/gdkkeysyms.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
, const gchar* labelFirst, ...)