mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Removed - didn't work and not particularly useful anyways if it did.
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): Removed - didn't work and not particularly useful anyways if it did.
This commit is contained in:
parent
cc223eeff6
commit
24a325c67a
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jun 24 12:06:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
|
||||
Removed - didn't work and not particularly useful anyways
|
||||
if it did.
|
||||
|
||||
Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
|
||||
|
@ -6088,40 +6088,6 @@ gtk_text_view_get_border_window_size (GtkTextView *text_view,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_text_view_set_text_window_size:
|
||||
* @text_view: a #GtkTextView
|
||||
* @width: a width in pixels
|
||||
* @height: a height in pixels
|
||||
*
|
||||
* Sets the size request for the main text window (%GTK_TEXT_WINDOW_TEXT).
|
||||
* If the widget gets more space than it requested, the main text window
|
||||
* will be larger than this.
|
||||
*
|
||||
**/
|
||||
void
|
||||
gtk_text_view_set_text_window_size (GtkTextView *text_view,
|
||||
gint width,
|
||||
gint height)
|
||||
{
|
||||
GtkTextWindow *win;
|
||||
|
||||
g_return_if_fail (GTK_IS_TEXT_VIEW (text_view));
|
||||
g_return_if_fail (width > 0);
|
||||
g_return_if_fail (height > 0);
|
||||
|
||||
win = text_view->text_window;
|
||||
|
||||
if (win->requisition.width == width &&
|
||||
win->requisition.height == height)
|
||||
return;
|
||||
|
||||
win->requisition.width = width;
|
||||
win->requisition.height = height;
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (text_view));
|
||||
}
|
||||
|
||||
/*
|
||||
* Child widgets
|
||||
*/
|
||||
|
@ -250,9 +250,6 @@ void gtk_text_view_set_border_window_size (GtkTextView *text_view,
|
||||
gint size);
|
||||
gint gtk_text_view_get_border_window_size (GtkTextView *text_view,
|
||||
GtkTextWindowType type);
|
||||
void gtk_text_view_set_text_window_size (GtkTextView *text_view,
|
||||
gint width,
|
||||
gint height);
|
||||
|
||||
gboolean gtk_text_view_forward_display_line (GtkTextView *text_view,
|
||||
GtkTextIter *iter);
|
||||
|
Loading…
Reference in New Issue
Block a user