[gcalctool] Removed old debug code
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Removed old debug code
- Date: Tue, 21 Dec 2010 03:45:08 +0000 (UTC)
commit 41602e51577bbf57bfaade0c0590f97a37b60aa9
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Dec 21 14:32:59 2010 +1100
Removed old debug code
src/math-buttons.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/math-buttons.c b/src/math-buttons.c
index b0214dc..5d768ba 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -498,9 +498,7 @@ load_finc_dialogs(MathButtons *buttons)
for (i = 0; finc_dialog_fields[i][0] != NULL; i++) {
for (j = 0; finc_dialog_fields[i][j]; j++) {
GObject *o;
- o = gtk_builder_get_object(buttons->priv->financial_ui, finc_dialog_fields[i][j]);
- if(!o)
- printf("missing '%s'\n", finc_dialog_fields[i][j]);
+ o = gtk_builder_get_object (buttons->priv->financial_ui, finc_dialog_fields[i][j]);
g_object_set_data(o, "finc_field", GINT_TO_POINTER(j));
g_object_set_data(o, "finc_dialog", GINT_TO_POINTER(i));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]