Details
[Home]
Issue of the Implementation # D0150
Brief
Incorrect default value of 'resize' property of GtkPaned objects
Detailed Description
The default value of the property 'resize' should be TRUE, but it is FALSE.
Problem location(s) in the standard
Linux Standard Base Desktop Specification 4.0, Chapter 16. Libraries. Section 16.27. Interfaces for libgtk-x11-2.0 that refers http://library.gnome.org/devel/gtk/2.8/GtkPaned.html
Example
#include <gtk/gtk.h> #include <glib.h> #include <stdio.h> int main (int argc, char **argv) { GtkWidget *h_paned = NULL; GtkWidget *text_view = NULL; gboolean get_val; gtk_init(&argc, &argv); h_paned = gtk_hpaned_new(); if(h_paned == NULL) { printf("The gtk_hpaned_new function returns NULL, " "unable to create a GtkWidget.\n"); } text_view = gtk_text_view_new(); if(text_view == NULL) { printf("The gtk_text_view_new function returns NULL, " "unable to create a GtkWidget.\n"); } gtk_paned_add1(GTK_PANED(h_paned), text_view); gtk_container_child_get(GTK_CONTAINER(h_paned), text_view, "resize", &get_val, NULL); if(get_val != TRUE) { printf("The default value of the property 'resize' " "should be TRUE, but it is FALSE.\n"); } if(text_view != NULL) { gtk_widget_destroy(text_view); } if(h_paned != NULL) { gtk_widget_destroy(h_paned); } return 0; }
Component
gtk+ 2.19 or early
Accepted
Gnome Bugzilla, 608884
Status
Reported
[Home]
»