~vcs-imports/artha/trunk

« back to all changes in this revision

Viewing changes to src/wni.h

  • Committer: legends2k
  • Date: 2012-06-07 11:00:53 UTC
  • Revision ID: legends2k-20120607110053-904r4ts1i2i4tcbh
* Updated INSTALL for new MinGW and MSYS setup
* Update TODO based on forum comments and bugs
* Updated configure.ac to remove obsolete macros
* Added debug and release mode flags in build scripts
* Fixed issues in Makefile.am - added  .desktop and
.ico to dist correctly
* Removed libnotify.h from getting deployed
* Fixed G_DEBUG, G_MESSAGE and G_PRINTF macros
* Updated *.c to match the fixed forms of these macros
* Bumped GTK+ and GLib min version to 2.18 and 2.22
* Fixed issue in Win32 by replacing GTK_WIDGET_VISIBLE
with gtk_widget_visible(); this was done since it returns
G_TRUE even when someother GTK+ window is visible but
Artha's is not
* Function prototype quit_activate fixed for Win32
* Moved to g_strcmp0 and gtk_show_uri

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#       include "config.h"
36
36
 
37
37
#       if DEBUG_LEVEL >= 1
38
 
#               define G_DEBUG(format, ...) g_debug(format, __VA_ARGS__)
 
38
#               define G_DEBUG(...) g_debug(__VA_ARGS__)
39
39
#       endif           /* DEBUG_LEVEL >= 1 */
40
40
 
41
41
#       if DEBUG_LEVEL >= 2
42
 
#               define G_MESSAGE(format, ...) g_message(format, __VA_ARGS__)
 
42
#               define G_MESSAGE(...) g_message(__VA_ARGS__)
43
43
#       endif           /* DEBUG_LEVEL >= 2 */
44
44
 
45
45
#       if DEBUG_LEVEL >= 3
46
46
#               include <glib/gprintf.h>
47
 
#               define G_PRINTF(format, ...) g_printf(format, __VA_ARGS__)
 
47
#               define G_PRINTF(...) g_printf(__VA_ARGS__)
48
48
#       endif           /* DEBUG_LEVEL >= 3 */
49
49
 
50
50
#endif          /* HAVE_CONFIG_H */