antiright-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright/gtkshell options.c


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/gtkshell options.c
Date: Tue, 27 Feb 2007 23:38:35 +0000

CVSROOT:        /sources/antiright
Module name:    antiright
Changes by:     Jeffrey Bedard <jefbed> 07/02/27 23:38:35

Modified files:
        gtkshell       : options.c 

Log message:
        Backed out last feature, as modification is useless.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/options.c?cvsroot=antiright&r1=1.8&r2=1.9

Patches:
Index: options.c
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/options.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- options.c   27 Feb 2007 23:31:37 -0000      1.8
+++ options.c   27 Feb 2007 23:38:35 -0000      1.9
@@ -31,21 +31,6 @@
        (*counter)++;
        g_assert ((*counter) <= argc);
 }
-static void
-gsh_handle_modification_arguments (struct GSH * gsh, int argc, 
-                                  char **argv, int *counter)
-{
-       switch (argv[*counter][2])
-       {
-               case 'b': /* Change the label of the last button.  */
-                       gsh_count(argc, counter);
-                       gtk_button_set_label(GTK_BUTTON(gsh->button), 
-                                            argv[*counter]);
-                       break;
-               default:
-                       ARWARN("invalid argument");
-       }
-}
 
 void
 gsh_handle_switch_arguments (struct GSH * gsh, int argc, 
@@ -60,9 +45,6 @@
        case 'd':
                gsh_handle_dialog_arguments (gsh, argc, argv, counter);
                break;
-       case 'm':
-               gsh_handle_modification_arguments (gsh, argc, argv, counter);
-               break;
        case 'o':
                gsh_handle_option_arguments (gsh, argc, argv, counter);
                break;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]