Commit 8d073b02 authored by Gnome CVS User's avatar Gnome CVS User

new gtk_main_level(). fixes to gtk_window_show() to prevent -1x-1 size on

window creation. some indentation fixes.
this basically brings my tree back in sync with the repository again...
parent 64fd7130
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
Fri Nov 28 01:26:55 1997 Tim Janik <timj@psynet.net>
* gtk/gtkwindow.c (gtk_window_show): propagate a size_request before
the initial window creations (prevents windows with size of -1x-1).
* gtk/gtkmain.c (gtk_main_level): new function to determine
the current recursion level of gtkmain().
(gtk_true) (gtk_false): new functions implemented as a convenience
for signals that just need a handler with the appropriate return value.
Tue Nov 25 1997 Owen Taylor <owt1@cornell.edu>
gdk.c: Fix so that "other_events" are actually generated
......
......@@ -41,10 +41,10 @@ struct _GtkAcceleratorTable
/* Accelerator tables.
*/
GtkAcceleratorTable* gtk_accelerator_table_new (void);
GtkAcceleratorTable* gtk_accelerator_table_find (GtkObject *object,
const gchar *signal_name,
guchar accelerator_key,
guint8 accelerator_mods);
GtkAcceleratorTable* gtk_accelerator_table_find (GtkObject *object,
const gchar *signal_name,
guchar accelerator_key,
guint8 accelerator_mods);
void gtk_accelerator_table_destroy (GtkAcceleratorTable *table);
GtkAcceleratorTable *gtk_accelerator_table_ref (GtkAcceleratorTable *table);
......
......@@ -68,7 +68,8 @@ struct _GtkColorSelection
GtkWidget *wheel_area;
GtkWidget *value_area;
GtkWidget *sample_area, *sample_area_eb;
GtkWidget *sample_area;
GtkWidget *sample_area_eb;
GtkWidget *scales[8];
GtkWidget *entries[8];
......
This diff is collapsed.
......@@ -8,7 +8,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
......@@ -30,42 +30,43 @@ extern "C" {
/* Initialization, exit, mainloop and miscellaneous routines
*/
void gtk_init (int *argc,
char ***argv);
void gtk_exit (gint error_code);
gchar* gtk_set_locale (void);
void gtk_main (void);
void gtk_main_quit (void);
gint gtk_main_iteration (void);
void gtk_init (int *argc,
char ***argv);
void gtk_exit (gint error_code);
gchar* gtk_set_locale (void);
void gtk_main (void);
guint gtk_main_level (void);
void gtk_main_quit (void);
gint gtk_main_iteration (void);
gint gtk_true (void);
gint gtk_false (void);
void gtk_grab_add (GtkWidget *widget);
void gtk_grab_remove (GtkWidget *widget);
void gtk_init_add (GtkFunction function,
gpointer data);
gint gtk_timeout_add (guint32 interval,
GtkFunction function,
gpointer data);
gint gtk_timeout_add_interp (guint32 interval,
GtkCallbackMarshal function,
gpointer data,
GtkDestroyNotify notify);
void gtk_timeout_remove (gint tag);
gint gtk_idle_add (GtkFunction function,
gpointer data);
gint gtk_idle_add_interp (GtkCallbackMarshal function,
gpointer data,
GtkDestroyNotify destroy);
void gtk_idle_remove (gint tag);
void gtk_idle_remove_by_data (gpointer data);
void gtk_get_current_event (GdkEvent *event);
GtkWidget* gtk_get_event_widget (GdkEvent *event);
void gtk_grab_add (GtkWidget *widget);
void gtk_grab_remove (GtkWidget *widget);
void gtk_init_add (GtkFunction function,
gpointer data);
gint gtk_timeout_add (guint32 interval,
GtkFunction function,
gpointer data);
gint gtk_timeout_add_interp (guint32 interval,
GtkCallbackMarshal function,
gpointer data,
GtkDestroyNotify notify);
void gtk_timeout_remove (gint tag);
gint gtk_idle_add (GtkFunction function,
gpointer data);
gint gtk_idle_add_interp (GtkCallbackMarshal function,
gpointer data,
GtkDestroyNotify destroy);
void gtk_idle_remove (gint tag);
void gtk_idle_remove_by_data (gpointer data);
void gtk_get_current_event (GdkEvent *event);
GtkWidget* gtk_get_event_widget (GdkEvent *event);
#ifdef __cplusplus
......
This diff is collapsed.
......@@ -416,6 +416,7 @@ gtk_window_show (GtkWidget *widget)
g_return_if_fail (GTK_IS_WINDOW (widget));
GTK_WIDGET_SET_FLAGS (widget, GTK_VISIBLE);
gtk_container_need_resize (GTK_CONTAINER (widget));
gtk_widget_map (widget);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment