GTK: disabled some unused code to silence some warnings

This commit is contained in:
punkrockguy318 2010-03-07 23:27:25 +00:00
parent 45bcee9ecf
commit a875e87a3f
1 changed files with 0 additions and 22 deletions

View File

@ -35,28 +35,6 @@ extern Config *g_config;
GtkWidget* MainWindow = NULL; GtkWidget* MainWindow = NULL;
GtkWidget* padNoCombo; 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 // This function configures a single button on a gamepad
int configGamepadButton(GtkButton* button, gpointer p) int configGamepadButton(GtkButton* button, gpointer p)
{ {