From a875e87a3f9890860501da1763ed821e1cdd2028 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Sun, 7 Mar 2010 23:27:25 +0000 Subject: [PATCH] GTK: disabled some unused code to silence some warnings --- src/drivers/sdl/gui.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/drivers/sdl/gui.cpp b/src/drivers/sdl/gui.cpp index f3ff512a..8f4dbace 100644 --- a/src/drivers/sdl/gui.cpp +++ b/src/drivers/sdl/gui.cpp @@ -35,28 +35,6 @@ extern Config *g_config; GtkWidget* MainWindow = NULL; GtkWidget* padNoCombo; -GtkTextBuffer* tb = gtk_text_buffer_new(NULL); - -void openGTKterm() -{ - GtkWidget* win = gtk_window_new(GTK_WINDOW_TOPLEVEL); - GtkWidget* vbox = gtk_vbox_new(FALSE, 5); - - GtkWidget* textV = gtk_text_view_new_with_buffer(tb); - gtk_text_view_set_editable(GTK_TEXT_VIEW(textV), FALSE); - GtkWidget* entry = gtk_entry_new(); - gtk_text_buffer_set_text(tb, "HELLO FCEUX!", -1); - - gtk_box_pack_start(GTK_BOX(vbox), textV, TRUE, TRUE, 5); - gtk_box_pack_start(GTK_BOX(vbox), entry, TRUE, TRUE, 5); - - gtk_container_add(GTK_CONTAINER(win), vbox); - - gtk_widget_show_all(win); - - return; -} - // This function configures a single button on a gamepad int configGamepadButton(GtkButton* button, gpointer p) {