2
* nvidia-settings: A tool for configuring the NVIDIA X driver on Unix
5
* Copyright (C) 2004 NVIDIA Corporation.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of Version 2 of the GNU General Public
9
* License as published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See Version 2
14
* of the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the:
19
* Free Software Foundation, Inc.
20
* 59 Temple Place - Suite 330
21
* Boston, MA 02111-1307, USA
26
#include "ctkwindow.h"
31
* This source file provides thin wrappers over the gtk routines, so
32
* that nvidia-settings.c doesn't need to include gtk+
35
void ctk_init(int *argc, char **argv[])
40
char *ctk_get_display(void)
42
return gdk_get_display();
45
void ctk_main(NvCtrlAttributeHandle **attribute_handles,
46
int num_screens, ParsedAttribute *p, ConfigProperties *conf)
48
ctk_window_new(attribute_handles, num_screens, p, conf);