diff options
author | rbuj <[email protected]> | 2019-10-01 13:11:03 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-10-03 11:27:14 +0200 |
commit | 7d5048dcb46585fd4328ad1c2a4942aee02a22a0 (patch) | |
tree | efe058b2ce2d06b47b111d0623f1dbbc30615126 /src/fr-window.c | |
parent | f10463c3de365ebdeb073892f79331c35de4c601 (diff) | |
download | engrampa-7d5048dcb46585fd4328ad1c2a4942aee02a22a0.tar.bz2 engrampa-7d5048dcb46585fd4328ad1c2a4942aee02a22a0.tar.xz |
Set compiler debug flags using MATE_DEBUG_CHECK and update configure summary
test:
$ ./autogen.sh --enable-debug=profile --prefix=/usr
<cut>
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g -pg
Warning flags: -Wall -Wmissing-prototypes
Linker flags: -pg
Caja support: yes
PackageKit support: yes
Run in place no
Use libmagic: no
JSON support: yes
Now type `make' to compile engrampa
$ ./autogen.sh --enable-debug --prefix=/usr
<cut>
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g -O0
Warning flags: -Wall -Wmissing-prototypes
Linker flags:
Caja support: yes
PackageKit support: yes
Run in place no
Use libmagic: no
JSON support: yes
Now type `make' to compile engrampa
$ grep MATE_ENABLE_DEBUG config.h
Diffstat (limited to 'src/fr-window.c')
-rw-r--r-- | src/fr-window.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 99dc120..fc94f2e 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -2901,8 +2901,8 @@ action_started (FrArchive *archive, window->priv->action = action; fr_window_start_activity_mode (window); -#ifdef DEBUG - debug (DEBUG_INFO, "%s [START] (FR::Window)\n", action_names[action]); +#ifdef MATE_ENABLE_DEBUG + debug (DEBUG_INFO, "%s [START] (FR::Window)\n", get_action_name (action)); #endif message = get_action_description (action, window->priv->pd_last_archive); @@ -3163,8 +3163,8 @@ convert__action_performed (FrArchive *archive, { FrWindow *window = data; -#ifdef DEBUG - debug (DEBUG_INFO, "%s [CONVERT::DONE] (FR::Window)\n", action_names[action]); +#ifdef MATE_ENABLE_DEBUG + debug (DEBUG_INFO, "%s [CONVERT::DONE] (FR::Window)\n", get_action_name (action)); #endif if ((action == FR_ACTION_GETTING_FILE_LIST) || (action == FR_ACTION_ADDING_FILES)) { @@ -3203,8 +3203,8 @@ action_performed (FrArchive *archive, char *archive_dir; gboolean temp_dir; -#ifdef DEBUG - debug (DEBUG_INFO, "%s [DONE] (FR::Window)\n", action_names[action]); +#ifdef MATE_ENABLE_DEBUG + debug (DEBUG_INFO, "%s [DONE] (FR::Window)\n", get_action_name (action)); #endif fr_window_stop_activity_mode (window); @@ -8118,8 +8118,8 @@ copy_from_archive_action_performed_cb (FrArchive *archive, FrWindow *window = data; gboolean UNUSED_VARIABLE continue_batch = FALSE; -#ifdef DEBUG - debug (DEBUG_INFO, "%s [DONE] (FR::Window)\n", action_names[action]); +#ifdef MATE_ENABLE_DEBUG + debug (DEBUG_INFO, "%s [DONE] (FR::Window)\n", get_action_name (action)); #endif fr_window_stop_activity_mode (window); |