]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktextutil.h
label: Fix memleak
[~andy/gtk] / gtk / gtktextutil.h
index 8b346520bfc4699b463747e78ddf094c9d2fd826..37ae7fb003a4fb1f11cd915032ce383d82767be5 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/>.
  */
 
 /*
@@ -40,13 +38,13 @@ void _gtk_text_util_append_special_char_menuitems (GtkMenuShell              *me
                                                    GtkTextUtilCharChosenFunc  func,
                                                    gpointer                   data);
 
-GdkPixmap* _gtk_text_util_create_drag_icon      (GtkWidget     *widget,
-                                                 gchar         *text,
-                                                 gsize          len);
-GdkPixmap* _gtk_text_util_create_rich_drag_icon (GtkWidget     *widget,
-                                                 GtkTextBuffer *buffer,
-                                                 GtkTextIter   *start,
-                                                 GtkTextIter   *end);
+cairo_surface_t * _gtk_text_util_create_drag_icon (GtkWidget     *widget,
+                                                   gchar         *text,
+                                                   gsize          len);
+cairo_surface_t * _gtk_text_util_create_rich_drag_icon (GtkWidget     *widget,
+                                                   GtkTextBuffer *buffer,
+                                                   GtkTextIter   *start,
+                                                   GtkTextIter   *end);
 
 gboolean _gtk_text_util_get_block_cursor_location (PangoLayout    *layout,
                                                   gint            index_,