qulogic/libgnt

Merged in default (pull request #59)

2019-05-03, Gary Kramlich
6feb0f4264f3
Merged in default (pull request #59)

Remove remaining GNTDEBUG.

Approved-by: Gary Kramlich
--- a/gnt-skel.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gnt-skel.c Fri May 03 02:48:52 2019 +0000
@@ -41,7 +41,6 @@
static void
gnt_skel_draw(GntWidget *widget)
{
- GNTDEBUG;
}
static void
@@ -92,8 +91,6 @@
(GDestroyNotify)gnt_widget_action_param_free);
gnt_widget_actions_read(G_OBJECT_CLASS_TYPE(klass), klass);
-
- GNTDEBUG;
}
static void
--- a/gntbindable.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntbindable.c Fri May 03 02:48:52 2019 +0000
@@ -241,8 +241,6 @@
klass->bindings = g_hash_table_new_full(g_str_hash, g_str_equal, g_free,
(GDestroyNotify)gnt_bindable_action_param_free);
}
-
- GNTDEBUG;
}
static void
--- a/gntbindable.h Fri Apr 26 17:15:59 2019 -0400
+++ b/gntbindable.h Fri May 03 02:48:52 2019 +0000
@@ -35,8 +35,6 @@
#define GNT_TYPE_BINDABLE gnt_bindable_get_type()
-#define GNTDEBUG
-
typedef struct _GntBindable GntBindable;
struct _GntBindableClass
--- a/gntbox.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntbox.c Fri May 03 02:48:52 2019 +0000
@@ -281,7 +281,6 @@
gnt_widget_size_request(widget);
find_focusable_widget(GNT_BOX(widget));
}
- GNTDEBUG;
}
/* Ensures that the current widget can take focus */
--- a/gntbutton.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntbutton.c Fri May 03 02:48:52 2019 +0000
@@ -67,8 +67,6 @@
mvwchgat(window, 0, 0, width, focus ? A_BOLD : A_REVERSE, type,
NULL);
}
-
- GNTDEBUG;
}
static void
--- a/gntcheckbox.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntcheckbox.c Fri May 03 02:48:52 2019 +0000
@@ -65,8 +65,6 @@
wbkgdset(window, '\0' | gnt_color_pair(GNT_COLOR_NORMAL));
mvwaddstr(window, 0, 4, C_(gnt_button_get_text(GNT_BUTTON(cb))));
(void)wmove(window, 0, 1);
-
- GNTDEBUG;
}
static void
@@ -118,7 +116,6 @@
G_STRUCT_OFFSET(GntCheckBoxClass, toggled),
NULL, NULL, NULL,
G_TYPE_NONE, 0);
- GNTDEBUG;
}
static void
--- a/gntcombobox.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntcombobox.c Fri May 03 02:48:52 2019 +0000
@@ -117,7 +117,6 @@
(void)wmove(window, 1, 1);
g_free(text);
- GNTDEBUG;
}
static void
@@ -331,8 +330,6 @@
gnt_bindable_register_binding(bindable, "dropdown", GNT_KEY_UP, NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), bindable);
-
- GNTDEBUG;
}
static void
--- a/gntentry.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntentry.c Fri May 03 02:48:52 2019 +0000
@@ -1145,7 +1145,6 @@
GNT_KEY_CTRL_V, NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass));
- GNTDEBUG;
}
static GntEntryKillRing *
--- a/gntfilesel.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntfilesel.c Fri May 03 02:48:52 2019 +0000
@@ -585,8 +585,6 @@
gnt_bindable_class_register_action(bindable, "clear-tags", clear_tags, "c", NULL);
gnt_bindable_class_register_action(bindable, "up-directory", up_directory, GNT_KEY_BACKSPACE, NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass));
-
- GNTDEBUG;
}
static void
--- a/gntlabel.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntlabel.c Fri May 03 02:48:52 2019 +0000
@@ -148,7 +148,6 @@
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS
)
);
- GNTDEBUG;
}
static void
--- a/gntmenu.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntmenu.c Fri May 03 02:48:52 2019 +0000
@@ -130,8 +130,6 @@
} else {
org_draw(widget);
}
-
- GNTDEBUG;
}
static void
@@ -252,7 +250,6 @@
org_map(widget);
gnt_tree_adjust_columns(GNT_TREE(widget));
}
- GNTDEBUG;
}
static void
--- a/gnttextview.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gnttextview.c Fri May 03 02:48:52 2019 +0000
@@ -485,8 +485,6 @@
gnt_widget_set_minimum_size(widget, 5, 2);
view->string = g_string_new(NULL);
view->list = g_list_append(view->list, line);
-
- GNTDEBUG;
}
/******************************************************************************
--- a/gnttree.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gnttree.c Fri May 03 02:48:52 2019 +0000
@@ -687,8 +687,6 @@
GntTree *tree = GNT_TREE(widget);
redraw_tree(tree);
-
- GNTDEBUG;
}
static void
@@ -1228,7 +1226,6 @@
GNT_KEY_END, NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), bindable);
- GNTDEBUG;
}
static void
--- a/gntwidget.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntwidget.c Fri May 03 02:48:52 2019 +0000
@@ -104,7 +104,6 @@
gnt_widget_map(GntWidget *widget)
{
/* Get some default size for the widget */
- GNTDEBUG;
g_signal_emit(widget, signals[SIG_MAP], 0);
gnt_widget_set_mapped(widget, TRUE);
}
@@ -293,7 +292,6 @@
gnt_bindable_register_binding(GNT_BINDABLE_CLASS(klass), "context-menu", GNT_KEY_CTRL_X, NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass));
- GNTDEBUG;
}
/******************************************************************************
@@ -337,7 +335,6 @@
delwin(priv->window);
g_object_run_dispose(G_OBJECT(widget));
}
- GNTDEBUG;
}
void
--- a/gntwindow.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntwindow.c Fri May 03 02:48:52 2019 +0000
@@ -111,8 +111,6 @@
GNT_KEY_CTRL_O, NULL);
gnt_bindable_register_binding(bindable, "show-menu", GNT_KEY_F10, NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), bindable);
-
- GNTDEBUG;
}
static void
--- a/gntwm.c Fri Apr 26 17:15:59 2019 -0400
+++ b/gntwm.c Fri May 03 02:48:52 2019 +0000
@@ -1607,8 +1607,6 @@
str[1] = i;
gnt_keys_add_combination(str);
}
-
- GNTDEBUG;
}
/******************************************************************************
--- a/wms/irssi.c Fri Apr 26 17:15:59 2019 -0400
+++ b/wms/irssi.c Fri May 03 02:48:52 2019 +0000
@@ -374,7 +374,6 @@
"\033" "H", GINT_TO_POINTER('h'), NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass));
- GNTDEBUG;
}
static void
--- a/wms/s.c Fri Apr 26 17:15:59 2019 -0400
+++ b/wms/s.c Fri May 03 02:48:52 2019 +0000
@@ -209,7 +209,6 @@
"raise-main-window", raise_main_window,
"\033" "b", NULL);
gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass));
- GNTDEBUG;
}
static void