]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkeditable.h
gdk/gdkwindow.c, gtk/gtkwidget.c: Include fallback-c89.c
[~andy/gtk] / gtk / gtkeditable.h
index 5ccebce9f307ebb0ba9b364bbf02eb0abe798e32..0e2441c4df6c4ed9261d2c307435aa8151d12e69 100644 (file)
@@ -12,9 +12,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
 #ifndef __GTK_EDITABLE_H__
 #define __GTK_EDITABLE_H__
 
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gtk/gtkwidget.h>
 
 
@@ -51,8 +49,8 @@ struct _GtkEditableInterface
 
   /* signals */
   void (* insert_text)              (GtkEditable    *editable,
-                                    const gchar    *text,
-                                    gint            length,
+                                    const gchar    *new_text,
+                                    gint            new_text_length,
                                     gint           *position);
   void (* delete_text)              (GtkEditable    *editable,
                                     gint            start_pos,
@@ -61,8 +59,8 @@ struct _GtkEditableInterface
 
   /* vtable */
   void (* do_insert_text)           (GtkEditable    *editable,
-                                    const gchar    *text,
-                                    gint            length,
+                                    const gchar    *new_text,
+                                    gint            new_text_length,
                                     gint           *position);
   void (* do_delete_text)           (GtkEditable    *editable,
                                     gint            start_pos,