Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1820 in orxonox.OLD for orxonox/branches/bensch/orxonox_gui_video.c


Ignore:
Timestamp:
Apr 14, 2004, 2:16:09 AM (21 years ago)
Author:
bensch
Message:

orxonox/branches/bensch: pointer-dilema solved(:)) in video_option_change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/bensch/orxonox_gui_video.c

    r1819 r1820  
    11#include "orxonox_gui_video.h"
    22
    3 void video_option_change(GtkWidget *widget, gpointer data)
     3void video_option_change(GtkWidget *widget, int* data)
    44{
    5   data = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (widget));
    6   orxonox_flags_update (); 
     5  *data = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (widget));
     6  orxonox_flags_update ();
    77  if (verbose >=1)
    8     printf ("%s changed to %i.\n", gtk_button_get_label(widget), data);
     8    printf ("%s changed to %i.\n", gtk_button_get_label(widget), *data);
    99}
    1010
Note: See TracChangeset for help on using the changeset viewer.