<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def connect_signals(self, target):
 """ This is deprecated. Pass your controller to connect signals the old way. """

        if self.connected:
            raise RuntimeError("GtkBuilder can only connect signals once")
        self.builder.connect_signals(target)
        self.connected = True