Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv15791/src
Modified Files:
prefs.c prefs.h prefs_window.c prefs_window.h
Log Message:
Got rid of unused_gboolean3.
Index: prefs.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/prefs.c,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -d -r1.214 -r1.215
--- prefs.c 10 Jun 2006 05:04:04 -0000 1.214
+++ prefs.c 10 Jun 2006 08:29:43 -0000 1.215
@@ -1782,7 +1782,6 @@
mycfg->last_prefs_page = 0;
mycfg->statusbar_timeout = STATUSBAR_TIMEOUT;
- mycfg->unused_gboolean3 = FALSE;
mycfg->tmp_disable_sort = TRUE;
mycfg->startup_messages = TRUE;
mycfg->automount = FALSE;
@@ -2128,10 +2127,6 @@
{
/* ignore -- not used any more */
}
- else if(g_ascii_strcasecmp (line, "unused_gboolean3") == 0)
- {
- prefs_set_unused_gboolean3 ((gboolean)atoi(arg));
- }
else if(g_ascii_strcasecmp (line, "concal_autosync") == 0)
{
prefs_set_int ("itdb_0_concal_autosync", atoi(arg));
@@ -2344,8 +2339,7 @@
fprintf (fp, "info_window=%d\n", cfg->info_window);
fprintf (fp, "tmp_disable_sort=%d\n", cfg->tmp_disable_sort);
fprintf (fp, "startup_messages=%d\n", cfg->startup_messages);
- fprintf (fp, "mserv_use=%d\n", cfg->mserv_use);
-/* fprintf (fp, "unused_gboolean3=%d\n", cfg->unused_gboolean3); */
+ fprintf (fp, "mserv_use=%d\n", cfg->mserv_use);
}
@@ -3026,12 +3020,4 @@
return cfg->mserv_username;
}
-gboolean prefs_get_unused_gboolean3(void)
-{
- return(cfg->unused_gboolean3);
-}
-void prefs_set_unused_gboolean3(gboolean val)
-{
- cfg->unused_gboolean3 = val;
-}
Index: prefs.h
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/prefs.h,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- prefs.h 9 Jun 2006 02:19:46 -0000 1.139
+++ prefs.h 10 Jun 2006 08:29:43 -0000 1.140
@@ -140,7 +140,6 @@
gint misc_track_nr; /* track's nr in the Highest rated, most
played and most recently played pl*/
gboolean mserv_use; /* use mserv data (rating)? */
gchar *mserv_username; /* username for mserv? */
- gboolean unused_gboolean3; /* unused */
float version; /* version of gtkpod writing the cfg file */
};
@@ -362,8 +361,6 @@
gboolean prefs_get_not_played_track (void);
void prefs_set_multi_edit_title (gboolean state);
gboolean prefs_get_multi_edit_title (void);
-void prefs_set_unused_gboolean3(gboolean val);
-gboolean prefs_get_unused_gboolean3(void);
void prefs_set_tmp_disable_sort(gboolean val);
gboolean prefs_get_tmp_disable_sort(void);
void prefs_set_startup_messages(gboolean val);
Index: prefs_window.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/prefs_window.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- prefs_window.c 9 Jun 2006 01:45:01 -0000 1.136
+++ prefs_window.c 10 Jun 2006 08:29:43 -0000 1.137
@@ -668,13 +668,6 @@
g_free (buf);
}
-
-/* if((w = lookup_widget(prefs_window, "cfg_unused_gboolean3"))) */
-/* { */
-/* gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w), */
-/* tmpcfg->unused_gboolean3); */
-/* } */
-
w = gtkpod_xml_get_widget (prefs_window_xml, "notebook");
if (page == -1)
{
@@ -741,7 +734,6 @@
prefs_set_startup_messages(tmpcfg->startup_messages);
prefs_set_mserv_use(tmpcfg->mserv_use);
prefs_set_mserv_username(tmpcfg->mserv_username);
- prefs_set_unused_gboolean3(tmpcfg->unused_gboolean3);
tm_show_preferred_columns();
}
@@ -1448,12 +1440,6 @@
tmpcfg->mserv_username = val;
}
-void
-prefs_window_set_unused_gboolean3(gboolean val)
-{
- tmpcfg->unused_gboolean3 = val;
-}
-
/* ------------------------------------------------------------ *\
* *
Index: prefs_window.h
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/prefs_window.h,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- prefs_window.h 21 May 2006 03:46:45 -0000 1.69
+++ prefs_window.h 10 Jun 2006 08:29:44 -0000 1.70
@@ -44,8 +44,6 @@
void prefs_window_create (gint page);
void prefs_window_delete (void);
-void prefs_window_set_unused_gboolean3 (gboolean val);
-
void sort_window_create (void);
void sort_window_block (void);
void sort_window_release (void);
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2