[glade3] * gladeui/glade-placeholder.c: Removed debug printing and some unused variables.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * gladeui/glade-placeholder.c: Removed debug printing and some unused variables.
- Date: Sun, 26 Dec 2010 11:47:24 +0000 (UTC)
commit b480f67e7b3e0846e3dca4c3c0b2ce3e0ab6f502
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Dec 26 19:58:49 2010 +0900
* gladeui/glade-placeholder.c: Removed debug printing and some unused variables.
ChangeLog | 2 ++
gladeui/glade-placeholder.c | 9 ---------
2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 025154b..50edeed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* gladeui/glade-previewer.c: Added include <locale.h> for setlocale() (bug 638035).
+ * gladeui/glade-placeholder.c: Removed debug printing and some unused variables.
+
2010-12-23 Tristan Van Berkom <tristanvb openismus com>
* gladeui/glade-widget.c: Check if object is actually in the parent when rebuilding
diff --git a/gladeui/glade-placeholder.c b/gladeui/glade-placeholder.c
index 5417843..d0643b1 100644
--- a/gladeui/glade-placeholder.c
+++ b/gladeui/glade-placeholder.c
@@ -163,11 +163,9 @@ glade_placeholder_realize (GtkWidget *widget)
{
GladePlaceholder *placeholder;
GtkAllocation allocation;
- GtkStyle *style;
GdkWindow *window;
GdkWindowAttr attributes;
gint attributes_mask;
- guint border_width;
placeholder = GLADE_PLACEHOLDER (widget);
@@ -313,13 +311,6 @@ glade_placeholder_draw (GtkWidget *widget, cairo_t *cr)
GdkColor *dark;
gint w, h;
-
- gdouble debug_x, debug_y;
- cairo_device_to_user (cr, &debug_x, &debug_y);
-
- g_print ("Drawing placeholder %p with cairo x:%d/y:%d\n",
- widget, (int)debug_x, (int)debug_y);
-
style = gtk_widget_get_style (widget);
light = &style->light[GTK_STATE_NORMAL];
dark = &style->dark[GTK_STATE_NORMAL];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]