#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:
Manish Singh 2003-01-09 02:38:13 +00:00 committed by Manish Singh
parent 62113a6271
commit bd6ac8c69c
9 changed files with 78 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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"

View File

@ -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));

View File

@ -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);