forked from AuroraMiddleware/gtk
#include <stdlib.h> for putenv, <string.h> for strlen.
Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org> * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv, <string.h> for strlen. * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv, <string.h> for strrchr. * tests/testgtk.c (create_saved_position): "x" and "y" properties for widgets no longer exist, use gtk_window_move instead. * test/testtextbuffer.c (check_get_set_text): cast strlen to int for g_error.
This commit is contained in:
parent
62113a6271
commit
bd6ac8c69c
14
ChangeLog
14
ChangeLog
@ -1,3 +1,17 @@
|
|||||||
|
Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
|
||||||
|
<string.h> for strlen.
|
||||||
|
|
||||||
|
* gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
|
||||||
|
<string.h> for strrchr.
|
||||||
|
|
||||||
|
* tests/testgtk.c (create_saved_position): "x" and "y" properties
|
||||||
|
for widgets no longer exist, use gtk_window_move instead.
|
||||||
|
|
||||||
|
* test/testtextbuffer.c (check_get_set_text): cast strlen to
|
||||||
|
int for g_error.
|
||||||
|
|
||||||
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
|
||||||
|
<string.h> for strlen.
|
||||||
|
|
||||||
|
* gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
|
||||||
|
<string.h> for strrchr.
|
||||||
|
|
||||||
|
* tests/testgtk.c (create_saved_position): "x" and "y" properties
|
||||||
|
for widgets no longer exist, use gtk_window_move instead.
|
||||||
|
|
||||||
|
* test/testtextbuffer.c (check_get_set_text): cast strlen to
|
||||||
|
int for g_error.
|
||||||
|
|
||||||
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
|
||||||
|
<string.h> for strlen.
|
||||||
|
|
||||||
|
* gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
|
||||||
|
<string.h> for strrchr.
|
||||||
|
|
||||||
|
* tests/testgtk.c (create_saved_position): "x" and "y" properties
|
||||||
|
for widgets no longer exist, use gtk_window_move instead.
|
||||||
|
|
||||||
|
* test/testtextbuffer.c (check_get_set_text): cast strlen to
|
||||||
|
int for g_error.
|
||||||
|
|
||||||
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
|
||||||
|
<string.h> for strlen.
|
||||||
|
|
||||||
|
* gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
|
||||||
|
<string.h> for strrchr.
|
||||||
|
|
||||||
|
* tests/testgtk.c (create_saved_position): "x" and "y" properties
|
||||||
|
for widgets no longer exist, use gtk_window_move instead.
|
||||||
|
|
||||||
|
* test/testtextbuffer.c (check_get_set_text): cast strlen to
|
||||||
|
int for g_error.
|
||||||
|
|
||||||
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
|
||||||
|
<string.h> for strlen.
|
||||||
|
|
||||||
|
* gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
|
||||||
|
<string.h> for strrchr.
|
||||||
|
|
||||||
|
* tests/testgtk.c (create_saved_position): "x" and "y" properties
|
||||||
|
for widgets no longer exist, use gtk_window_move instead.
|
||||||
|
|
||||||
|
* test/testtextbuffer.c (check_get_set_text): cast strlen to
|
||||||
|
int for g_error.
|
||||||
|
|
||||||
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
2003-01-08 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "gdkscreen.h"
|
#include "gdkscreen.h"
|
||||||
|
@ -2996,13 +2996,13 @@ create_saved_position (GtkWidget *widget)
|
|||||||
|
|
||||||
window = g_object_connect (gtk_widget_new (GTK_TYPE_WINDOW,
|
window = g_object_connect (gtk_widget_new (GTK_TYPE_WINDOW,
|
||||||
"type", GTK_WINDOW_TOPLEVEL,
|
"type", GTK_WINDOW_TOPLEVEL,
|
||||||
"x", upositionx,
|
|
||||||
"y", upositiony,
|
|
||||||
"title", "Saved Position",
|
"title", "Saved Position",
|
||||||
NULL),
|
NULL),
|
||||||
"signal::configure_event", uposition_configure, NULL,
|
"signal::configure_event", uposition_configure, NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
gtk_window_move (GTK_WINDOW (window), upositionx, upositiony);
|
||||||
|
|
||||||
gtk_window_set_screen (GTK_WINDOW (window),
|
gtk_window_set_screen (GTK_WINDOW (window),
|
||||||
gtk_widget_get_screen (widget));
|
gtk_widget_get_screen (widget));
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ check_get_set_text (GtkTextBuffer *buffer,
|
|||||||
|
|
||||||
if (n != strlen (str))
|
if (n != strlen (str))
|
||||||
g_error ("Sum of chars in lines is %d but buffer byte count is %d",
|
g_error ("Sum of chars in lines is %d but buffer byte count is %d",
|
||||||
n, strlen (str));
|
n, (int) strlen (str));
|
||||||
|
|
||||||
gtk_text_buffer_set_text (buffer, "", -1);
|
gtk_text_buffer_set_text (buffer, "", -1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user