[hipl-commit] [trunk] Rev 4156: Remove unnecessary GTK #include and commented-out code.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 7 Apr 2010 17:42:00 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 07/04/2010 at 17:42:00
Revision: 4156
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove unnecessary GTK #include and commented-out code.

Modified:
  M  lib/gui/widgets.c

=== modified file 'lib/gui/widgets.c'
--- lib/gui/widgets.c   2010-03-18 21:15:21 +0000
+++ lib/gui/widgets.c   2010-04-07 14:41:44 +0000
@@ -14,7 +14,6 @@
 #include "widgets.h"
 #include <stdlib.h>
 #include <string.h>
-#include <gtk/gtk.h>
 #include "lib/core/debug.h"
 #include "lib/core/ife.h"
 
@@ -39,7 +38,6 @@
     //gui_widgets = (void **)alloc(sizeof(void *) * WIDGET_IDS_N);
     gui_widgets = (void **) calloc(WIDGET_IDS_N, sizeof(void *));
     HIP_IFEL(gui_widgets == NULL, -1, "Failed to allocate widgets 
pointers.\n");
-    //memset(gui_widgets, sizeof(GtkWidget *) * WIDGET_IDS_N, 0);
 
 out_err:
     return err;

Other related posts:

  • » [hipl-commit] [trunk] Rev 4156: Remove unnecessary GTK #include and commented-out code. - Diego Biurrun