Commit 1442dc55702b113fe73bccba89f86fae26514a23
1 parent
041f6aab
Exists in
master
and in
1 other branch
Removing debug method.
Showing
1 changed file
with
0 additions
and
10 deletions
Show diff stats
src/dialogs/save/save.c
| @@ -532,17 +532,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ | @@ -532,17 +532,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ | ||
| 532 | { | 532 | { |
| 533 | case LIB3270_CONTENT_ALL: | 533 | case LIB3270_CONTENT_ALL: |
| 534 | debug("%s","LIB3270_CONTENT_ALL"); | 534 | debug("%s","LIB3270_CONTENT_ALL"); |
| 535 | -#ifdef DEBUG | ||
| 536 | - { | ||
| 537 | - debug("%s","LIB3270_CONTENT_SELECTED"); | ||
| 538 | - GList * selection = g_list_append_lib3270_selection(NULL, v3270_get_session(dialog->terminal),TRUE); | ||
| 539 | - pixbuf = v3270_get_selection_as_pixbuf(GTK_V3270(dialog->terminal), selection, TRUE); | ||
| 540 | - g_list_free_full(selection,(GDestroyNotify) lib3270_free); | ||
| 541 | - } | ||
| 542 | -#else | ||
| 543 | pixbuf = v3270_get_as_pixbuf(dialog->terminal); | 535 | pixbuf = v3270_get_as_pixbuf(dialog->terminal); |
| 544 | -#endif // DEBUG | ||
| 545 | - | ||
| 546 | break; | 536 | break; |
| 547 | 537 | ||
| 548 | case LIB3270_CONTENT_COPY: | 538 | case LIB3270_CONTENT_COPY: |