summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/gpucfg
diff options
context:
space:
mode:
authorSND\dario86_cp <SND\dario86_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-03-12 18:54:28 +0000
committerSND\dario86_cp <SND\dario86_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-03-12 18:54:28 +0000
commita58cfdac407bc1d8fedc11acd924b275ba28cc51 (patch)
treeb4c2e08c34ef1bfe0ba947ef8eed931c9a43fc0e /plugins/peopsxgl/gpucfg
parent9bdd06684bcc627c06ddcf4c406f6b48f0dfe389 (diff)
downloadpcsxr-a58cfdac407bc1d8fedc11acd924b275ba28cc51.tar.gz
Commited patch in issue #8171 (by darktjm).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64524 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/peopsxgl/gpucfg')
-rw-r--r--plugins/peopsxgl/gpucfg/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/peopsxgl/gpucfg/main.c b/plugins/peopsxgl/gpucfg/main.c
index a5d5163b..67258fee 100644
--- a/plugins/peopsxgl/gpucfg/main.c
+++ b/plugins/peopsxgl/gpucfg/main.c
@@ -67,7 +67,7 @@ GtkWidget *window,
*btnBeautiful;
// Save values to the config file
-void on_btnSave_clicked( GtkObject *object, gpointer user_data ) {
+static void on_btnSave_clicked( GtkObject *object, gpointer user_data ) {
FILE *out;
out = fopen( "gpuPeopsMesaGL.cfg", "w+" );
@@ -134,7 +134,7 @@ void on_btnSave_clicked( GtkObject *object, gpointer user_data ) {
// Autoconfiguration callbacks
-void on_btnFast_clicked( GtkObject *object, gpointer user_data ) {
+static void on_btnFast_clicked( GtkObject *object, gpointer user_data ) {
gtk_spin_button_set_value( GTK_SPIN_BUTTON( spinXSize ), 640 );
gtk_spin_button_set_value( GTK_SPIN_BUTTON( spinYSize ), 480 );
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( chkKeepRatio ), 0 );
@@ -165,7 +165,7 @@ void on_btnFast_clicked( GtkObject *object, gpointer user_data ) {
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( chkScreenSmoothing ), 0 );
}
-void on_btnBeautiful_clicked( GtkObject *object, gpointer user_data ) {
+static void on_btnBeautiful_clicked( GtkObject *object, gpointer user_data ) {
gtk_spin_button_set_value( GTK_SPIN_BUTTON( spinXSize ), 640 );
gtk_spin_button_set_value( GTK_SPIN_BUTTON( spinYSize ), 480 );
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( chkKeepRatio ), 0 );
@@ -198,19 +198,19 @@ void on_btnBeautiful_clicked( GtkObject *object, gpointer user_data ) {
// Callbacks used to toggle the sensitivity of some parts of the GUI
-void on_chkUseGameFixes_toggled( GtkObject *object, gpointer user_data ) {
+static void on_chkUseGameFixes_toggled( GtkObject *object, gpointer user_data ) {
gtk_widget_set_sensitive( tblGameFixes, gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( chkUseGameFixes ) ) );
}
-void on_chkUseFPSLimit_toggled( GtkObject *object, gpointer user_data ) {
+static void on_chkUseFPSLimit_toggled( GtkObject *object, gpointer user_data ) {
gtk_widget_set_sensitive( vboxFPSLimit, gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( chkUseFPSLimit ) ) );
}
-void on_radFPSLimitManual_toggled( GtkObject *object, gpointer user_data ) {
+static void on_radFPSLimitManual_toggled( GtkObject *object, gpointer user_data ) {
gtk_widget_set_sensitive( spinFPSLimit, gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( radFPSLimitManual ) ) );
}
-void on_chkScanLines_toggled( GtkObject *object, gpointer user_data ) {
+static void on_chkScanLines_toggled( GtkObject *object, gpointer user_data ) {
gtk_widget_set_sensitive( spinScanLinesBlend, gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( chkScanLines ) ) );
}