[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright/gtkshell button.c
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright/gtkshell button.c |
Date: |
Thu, 17 May 2007 15:38:09 +0000 |
CVSROOT: /sources/antiright
Module name: antiright
Changes by: Jeffrey Bedard <jefbed> 07/05/17 15:38:09
Modified files:
gtkshell : button.c
Log message:
Fixed extraneous function call, not used elsewhere.
Fixed unused parameter warning.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/button.c?cvsroot=antiright&r1=1.45&r2=1.46
Patches:
Index: button.c
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/button.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- button.c 17 May 2007 04:32:20 -0000 1.45
+++ button.c 17 May 2007 15:38:08 -0000 1.46
@@ -196,22 +196,14 @@
gsh_manage(gsh, gsh->widgets.button);
}
+/* This is just a wrapper around gsh_new_button(), to
+ follow the convention of returning a created widget. */
GtkWidget *
-gsh_button(struct GSH * gsh, const gchar * string)
+gsh_add_button(struct GSH * gsh, const gchar * string)
{
- GtkWidget * button;
-
if(!test_image_button(gsh, string))
gsh_command_button(gsh, string);
return gsh->widgets.button;
}
-/* This is just a wrapper around gsh_new_button(), to
- follow the convention of returning a created widget. */
-GtkWidget *
-gsh_add_button(struct GSH * gsh, const gchar * string)
-{
- return gsh->widgets.button=gsh_button(gsh, string);
-}
-
- [Antiright-devel] antiright/gtkshell button.c,
Jeffrey Bedard <=