Browse Source

Cleanup output clutter.

tags/r14.0.0
Darrell Anderson 7 years ago
parent
commit
82dfc962df
1 changed files with 20 additions and 20 deletions
  1. +20
    -20
      gtk2/kgtk2.c

+ 20
- 20
gtk2/kgtk2.c View File

@@ -1170,7 +1170,7 @@ void gtk_widget_hide(GtkWidget *widget)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_widget_hide Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_widget_hide Bypassing internal function\n"); fflush(stdout);
#endif
realFunction(widget);
return;
@@ -1280,7 +1280,7 @@ gint gtk_dialog_run(GtkDialog *dialog)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_run Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_dialog_run Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(dialog);
}
@@ -1463,7 +1463,7 @@ gint gtk_dialog_run(GtkDialog *dialog)

#ifdef KGTK_DEBUG
printf("KGTK::RETURN RESP:%d\n", resp);
printf("OK would be %d; Cancel would be %d\n\r", data->ok, data->cancel);
printf("OK would be %d; Cancel would be %d\n", data->ok, data->cancel);
#endif
g_signal_emit_by_name(dialog, "response", resp);
running=FALSE;
@@ -1503,7 +1503,7 @@ gchar * gtk_file_chooser_get_filename(GtkFileChooser *chooser)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_get_filename Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_get_filename Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser);
}
@@ -1666,7 +1666,7 @@ GSList * gtk_file_chooser_get_filenames(GtkFileChooser *chooser)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_get_filenames Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_get_filenames Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser);
}
@@ -1732,7 +1732,7 @@ gchar * gtk_file_chooser_get_current_folder(GtkFileChooser *chooser)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_get_current_folder Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_get_current_folder Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser);
}
@@ -1760,7 +1760,7 @@ gchar * gtk_file_chooser_get_uri(GtkFileChooser *chooser)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_get_uri Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_get_uri Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser);
}
@@ -1791,7 +1791,7 @@ gboolean gtk_file_chooser_set_uri(GtkFileChooser *chooser, const char *uri)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_set_uri Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_set_uri Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser, uri);
}
@@ -1822,7 +1822,7 @@ GSList * gtk_file_chooser_get_uris(GtkFileChooser *chooser)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_get_uris Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_get_uris Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser);
}
@@ -1843,7 +1843,7 @@ gboolean gtk_file_chooser_set_current_folder_uri(GtkFileChooser *chooser, const
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_set_current_folder_uri Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_set_current_folder_uri Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser, uri);
}
@@ -1873,7 +1873,7 @@ gchar * gtk_file_chooser_get_current_folder_uri(GtkFileChooser *chooser)
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_get_current_folder_uri Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_get_current_folder_uri Bypassing internal function\n"); fflush(stdout);
#endif
return realFunction(chooser);
}
@@ -1928,7 +1928,7 @@ GtkWidget * gtk_dialog_add_button(GtkDialog *dialog, const gchar *button_text, g
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_add_button Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_dialog_add_button Bypassing internal function\n"); fflush(stdout);
#endif
return dlg;
}
@@ -1942,14 +1942,14 @@ GtkWidget * gtk_dialog_add_button(GtkDialog *dialog, const gchar *button_text, g
0==strcmp(button_text, GTK_STOCK_QUIT) || 0==strcmp(button_text, GTK_STOCK_NO))) {
data->cancel=response_id;
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_add_button Overriding data->cancel: %d\n\r", data->cancel);
printf("KGTK::gtk_dialog_add_button Overriding data->cancel: %d\n", data->cancel);
#endif
}
else if(button_text && (0==strcmp(button_text, GTK_STOCK_OK) || 0==strcmp(button_text, GTK_STOCK_OPEN) ||
0==strcmp(button_text, GTK_STOCK_SAVE) || 0==strcmp(button_text, GTK_STOCK_YES))) {
data->ok=response_id;
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_add_button Overriding data->ok: %d\n\r", data->ok);
printf("KGTK::gtk_dialog_add_button Overriding data->ok: %d\n", data->ok);
#endif
}
}
@@ -1968,7 +1968,7 @@ void gtk_dialog_add_buttons(GtkDialog *dialog, const gchar *first_button_text, .
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED)) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_add_buttons Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_dialog_add_buttons Bypassing internal function\n"); fflush(stdout);
#endif
return;
}
@@ -1986,14 +1986,14 @@ void gtk_dialog_add_buttons(GtkDialog *dialog, const gchar *first_button_text, .
0==strcmp(text, GTK_STOCK_QUIT) || 0==strcmp(text, GTK_STOCK_NO))) {
data->cancel=id;
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_add_buttons Overriding data->cancel: %d\n\r", data->cancel);
printf("KGTK::gtk_dialog_add_buttons Overriding data->cancel: %d\n", data->cancel);
#endif
}
else if(text && (0==strcmp(text, GTK_STOCK_OK) || 0==strcmp(text, GTK_STOCK_OPEN) ||
0==strcmp(text, GTK_STOCK_SAVE) || 0==strcmp(text, GTK_STOCK_YES))) {
data->ok=id;
#ifdef KGTK_DEBUG
printf("KGTK::gtk_dialog_add_buttons Overriding data->ok: %d\n\r", data->ok);
printf("KGTK::gtk_dialog_add_buttons Overriding data->ok: %d\n", data->ok);
#endif
}
text=va_arg(varargs, const gchar *);
@@ -2017,7 +2017,7 @@ GtkWidget * gtk_file_chooser_dialog_new(const gchar *title, GtkWindow *parent,
determineAppName();
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED)) {
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_dialog_new Bypassing internal function\n\r"); fflush(stdout);
printf("KGTK::gtk_file_chooser_dialog_new Bypassing internal function\n"); fflush(stdout);
#endif
return dlg;
}
@@ -2035,14 +2035,14 @@ GtkWidget * gtk_file_chooser_dialog_new(const gchar *title, GtkWindow *parent,
0==strcmp(text, GTK_STOCK_QUIT) || 0==strcmp(text, GTK_STOCK_NO))) {
data->cancel=id;
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_dialog_new Overriding data->cancel: %d\n\r", data->cancel);
printf("KGTK::gtk_file_chooser_dialog_new Overriding data->cancel: %d\n", data->cancel);
#endif
}
else if(text && (0==strcmp(text, GTK_STOCK_OK) || 0==strcmp(text, GTK_STOCK_OPEN) ||
0==strcmp(text, GTK_STOCK_SAVE) || 0==strcmp(text, GTK_STOCK_YES))) {
data->ok=id;
#ifdef KGTK_DEBUG
printf("KGTK::gtk_file_chooser_dialog_new Overriding data->ok: %d\n\r", data->ok);
printf("KGTK::gtk_file_chooser_dialog_new Overriding data->ok: %d\n", data->ok);
#endif
}
text=va_arg(varargs, const gchar *);


Loading…
Cancel
Save