[Rawstudio-commit] r1270 - trunk/src

Anders Brander anders at brander.dk
Sun May 20 20:46:40 CEST 2007


Author: abrander
Date: 2007-05-20 20:46:40 +0200 (Sun, 20 May 2007)
New Revision: 1270

Modified:
   trunk/src/gtk-progress.c
   trunk/src/gtk-progress.h
Log:
Moved definition of RS_PROGRESS to gtk-progress.c.

Modified: trunk/src/gtk-progress.c
===================================================================
--- trunk/src/gtk-progress.c	2007-05-20 18:43:30 UTC (rev 1269)
+++ trunk/src/gtk-progress.c	2007-05-20 18:46:40 UTC (rev 1270)
@@ -22,6 +22,14 @@
 #include "gettext.h"
 #include "gtk-progress.h"
 
+struct _RS_PROGRESS {
+	GtkWidget *window;
+	GtkWidget *progressbar;
+	gint items;
+	gint current;
+	const gchar *title;
+};
+
 static gboolean
 gui_progress_destroy(GtkWidget *widget, GdkEvent *event, RS_PROGRESS *rsp)
 {

Modified: trunk/src/gtk-progress.h
===================================================================
--- trunk/src/gtk-progress.h	2007-05-20 18:43:30 UTC (rev 1269)
+++ trunk/src/gtk-progress.h	2007-05-20 18:46:40 UTC (rev 1270)
@@ -17,13 +17,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 
-typedef struct _rs_progress {
-	GtkWidget *window;
-	GtkWidget *progressbar;
-	gint items;
-	gint current;
-	const gchar *title;
-} RS_PROGRESS;
+typedef struct _RS_PROGRESS RS_PROGRESS; /* Defined in gtk-progress.c */
 
 RS_PROGRESS *gui_progress_new(const gchar *title, gint items);
 void gui_progress_free(RS_PROGRESS *rsp);




More information about the Rawstudio-commit mailing list