[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright/gtkshell updated.c
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright/gtkshell updated.c |
Date: |
Thu, 25 Oct 2007 17:33:18 +0000 |
CVSROOT: /sources/antiright
Module name: antiright
Changes by: Jeffrey Bedard <jefbed> 07/10/25 17:33:18
Modified files:
gtkshell : updated.c
Log message:
Removed extraneous macro.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/updated.c?cvsroot=antiright&r1=1.20&r2=1.21
Patches:
Index: updated.c
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/updated.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- updated.c 21 Jul 2007 20:19:34 -0000 1.20
+++ updated.c 25 Oct 2007 17:33:17 -0000 1.21
@@ -36,13 +36,6 @@
item->function(item->command, item->widget);
}
-/* Assign GSHUpdatedWidget class methods. */
-#define ASSIGN_METHODS(updater)\
-{\
- updater->update=&gsh_GSHUpdatedWidget_update;\
- updater->delete=&gsh_delete_GSHUpdatedWidget;\
-}
-
struct GSHUpdatedWidget *
gsh_new_GSHUpdatedWidget(void (*function)(const gchar *, gpointer),
const gchar * command, GtkWidget * widget)
@@ -50,7 +43,9 @@
struct GSHUpdatedWidget * updater;
updater=xmalloc(sizeof(struct GSHUpdatedWidget));
- ASSIGN_METHODS(updater);
+ /* Assign method function pointers. */
+ updater->update=&gsh_GSHUpdatedWidget_update;
+ updater->delete=&gsh_delete_GSHUpdatedWidget;
/* Assign widget-specific update information, specifically
* the widget command, a pointer to the widget, and the widget's
* updater function. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Antiright-devel] antiright/gtkshell updated.c,
Jeffrey Bedard <=