Gtk_window_set_resizable with gtk_window_set_geometry_hints

It seems that if gtk_window_set_geometry_hints() is used gtk_window_set_resizable() stops working.

gtk_window_set_geometry_hints(GTK_WINDOW(gtk_widget), gtk_widget, &gdk_geometry,
(GdkWindowHints) (GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE | GDK_HINT_RESIZE_INC));

tried this (without success):

gdk_geometry.width_inc = 0;
gdk_geometry.height_inc = 0;

How to make both work together?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.