Add missing header. Same ANSIfication. Closes bug #152851.
2004-09-17 Kjartan Maraas <kmaraas@gnome.org> * src/progress.c: Add missing header. * src/tree.c: Same * src/util.c: (transient_get_xterm), (transient_get_xterm_toplevel): ANSIfication. Closes bug #152851.
This commit is contained in:
parent
963241dd15
commit
ca975e8399
@ -1,3 +1,11 @@
|
|||||||
|
2004-09-17 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
|
* src/progress.c: Add missing header.
|
||||||
|
* src/tree.c: Same
|
||||||
|
* src/util.c: (transient_get_xterm),
|
||||||
|
(transient_get_xterm_toplevel): ANSIfication.
|
||||||
|
Closes bug #152851.
|
||||||
|
|
||||||
2004-09-16 James Henstridge <james@jamesh.id.au>
|
2004-09-16 James Henstridge <james@jamesh.id.au>
|
||||||
|
|
||||||
* src/notification.c: add code to listen for commands on stdin
|
* src/notification.c: add code to listen for commands on stdin
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <glade/glade.h>
|
#include <glade/glade.h>
|
||||||
#include "zenity.h"
|
#include "zenity.h"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include <glade/glade.h>
|
#include <glade/glade.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "zenity.h"
|
#include "zenity.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ zenity_util_return_exit_code ( ZenityExitCode value )
|
|||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
|
|
||||||
static Window
|
static Window
|
||||||
transient_get_xterm ()
|
transient_get_xterm (void)
|
||||||
{
|
{
|
||||||
const char *wid_str = g_getenv ("WINDOWID");
|
const char *wid_str = g_getenv ("WINDOWID");
|
||||||
if (wid_str) {
|
if (wid_str) {
|
||||||
@ -303,7 +303,7 @@ transient_is_toplevel (Window wid)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static Window
|
static Window
|
||||||
transient_get_xterm_toplevel ()
|
transient_get_xterm_toplevel (void)
|
||||||
{
|
{
|
||||||
Window xterm = transient_get_xterm ();
|
Window xterm = transient_get_xterm ();
|
||||||
Display *dpy = GDK_DISPLAY ();
|
Display *dpy = GDK_DISPLAY ();
|
||||||
|
Reference in New Issue
Block a user