aboutsummaryrefslogtreecommitdiff
path: root/src/common/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/helper.c')
-rw-r--r--src/common/helper.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/common/helper.c b/src/common/helper.c
index 558d8f3f..c8312776 100644
--- a/src/common/helper.c
+++ b/src/common/helper.c
@@ -60,12 +60,6 @@ static GladeXML * mainXML;
60 60
61static char * gladeFile; 61static char * gladeFile;
62 62
63static GladeXML * statusXML;
64
65static GtkWidget * infoWindow;
66
67static GtkWidget * infoWindowTextView;
68
69static GdkWindowState main_window_state; 63static GdkWindowState main_window_state;
70 64
71/** 65/**
@@ -320,16 +314,6 @@ void initGNUnetGTKCommon(struct GE_Context * e,
320 GE_FATAL | GE_USER | GE_IMMEDIATE, 314 GE_FATAL | GE_USER | GE_IMMEDIATE,
321 "glade_xml_new", 315 "glade_xml_new",
322 gladeFile); 316 gladeFile);
323 statusXML
324 = glade_xml_new(getGladeFileName(),
325 "statusWindow",
326 PACKAGE_NAME);
327 infoWindow
328 = glade_xml_get_widget(statusXML,
329 "statusWindow");
330 infoWindowTextView
331 = glade_xml_get_widget(statusXML,
332 "messageWindowTextView");
333 /* load the plugins */ 317 /* load the plugins */
334 GC_get_configuration_value_string(cfg, 318 GC_get_configuration_value_string(cfg,
335 "GNUNET-GTK", 319 "GNUNET-GTK",
@@ -339,7 +323,6 @@ void initGNUnetGTKCommon(struct GE_Context * e,
339 loadPlugins(load); 323 loadPlugins(load);
340 FREE(load); 324 FREE(load);
341 connectGladeWithPlugins(mainXML); 325 connectGladeWithPlugins(mainXML);
342 connectGladeWithPlugins(statusXML);
343} 326}
344 327
345void shutdownPlugins() { 328void shutdownPlugins() {
@@ -353,9 +336,6 @@ void shutdownPlugins() {
353 unloadPlugin(plugin); 336 unloadPlugin(plugin);
354 plugin = next; 337 plugin = next;
355 } 338 }
356 gtk_widget_destroy(infoWindow);
357 infoWindow = NULL;
358 UNREF(statusXML);
359 UNREF(mainXML); 339 UNREF(mainXML);
360 mainXML = NULL; 340 mainXML = NULL;
361 FREE(gladeFile); 341 FREE(gladeFile);